Jump to content
Fivewin Brasil

JPEG error #51


kapiaba

Recommended Posts

Galera, em um cliente em MG, ao tentar imprimir a CCE, com o FAST, estava dando este erro: JPEG error #51. quando o programa tentava pegar o LOGO.JPG da empresa.

Depois de muito quebrar a kbça, trocamos o LOGO.JPG, e voltou ao normal.

Pergunta: Como faço para identificar e avisar que o .JPG está danificado?

Obg. abs.

Link to comment
Share on other sites

Na DLL:

STRINGTABLE 
{
 65168, "JPEG error #%d"
 65169, "JPEG Image File"
 65170, "This \042Portable Network Graphics\042 image is not valid because it contains invalid pieces of data (crc error)"
 65171, "The \042Portable Network Graphics\042 image could not be loaded because one of its main piece of data (ihdr) might be corrupted"
 65172, "This \042Portable Network Graphics\042 image is invalid because it has missing image parts."
 65173, "Could not decompress the image because it contains invalid compressed data.\r\n Description: "
 65174, "The \042Portable Network Graphics\042 image contains an invalid palette."
 65175, "The file being readed is not a valid \042Portable Network Graphics\042 image because it contains an invalid header. This file may be corruped, try obtaining it again."
 65176, "This \042Portable Network Graphics\042 image is not supported or it might be invalid.\r\n(IHDR chunk is not the first)"
 65177, "This \042Portable Network Graphics\042 image is not supported because either it's width or height exceeds the maximum size, which is 65535 pixels length."
 65178, "There is no such palette entry."
 65179, "This \042Portable Network Graphics\042 image contains an unknown critical part which could not be decoded."
 65180, "This \042Portable Network Graphics\042 image is encoded with an unknown compression scheme which could not be decoded."
 65181, "This \042Portable Network Graphics\042 image uses an unknown interlace scheme which could not be decoded."
 65182, "The chunks must be compatible to be assigned."
 65183, "This \042Portable Network Graphics\042 image is invalid because the decoder found an unexpected end of the file."
}
 

Posso Modificar isto pelo Workshop.exe?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...