Method for introducing authentication information in images