This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Friday, December 22, 2006 4:42:34 AM(UTC)
Groups: Registered
Posts: 4
Hello
I try to save EXIF comments into a jpg file that does not support it. With LeadTools version 13.0.0.51 the error returned was:
#define ERROR_FILE_FORMAT -9 /** Invalid file format **/
That is the expected error.
But now I updated to version 13.0.0.130 and the function returns:
#define ERROR_MARKER_MISSING -809 /* The required JPEG marker is missing */
What does this error mean?
the function that returns this error is:
L_WriteFileComment(...)
Thank you in advance.
/Lucian
#2
Posted
:
Friday, December 29, 2006 6:41:03 AM(UTC)
Groups: Registered, Tech Support, Administrators
Posts: 764
lucianp wrote:
I try to save EXIF comments into a jpg file that does not support it.
Most likely, they updated the toolkit so that you got a more detailed error when trying to save an EXIF tag when the file doesn't support it. Invalid File Format is usually only thrown when loading an image and either the necessary DLL couldn't be found or the file is actualy invalid. -809 means that you are trying to save an EXIF tag that isn't supported by the file because it is missing the necessary markers in the header of the file, which means it is not the kind of JPEG you can save the comment you are attempting to write.
#3
Posted
:
Thursday, January 4, 2007 3:37:07 AM(UTC)
Groups: Registered
Posts: 4
Thank you. I will check now -809 instead
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.