Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Friday, December 22, 2006 4:42:34 AM(UTC)

lucianp  
lucianp

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

 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Friday, December 29, 2006 6:41:03 AM(UTC)

GregR  
GregR

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)

lucianp  
lucianp

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.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.054 seconds.