What does the toolkit do, if I add MetaTags to an existing file? Viewing the file in a hex editor I have the impression that the whole image data is shifted (to make room for the tags).
Is this correct? If so, what happens to offsets?
(and if so, is there a more efficient way to add tags?)
Currently I have the problem that after adding tags to a JPEG that contains a thumbnail, some viewers are no longer able to read the thumbnail (they still can read the main image though).
Has anybody an Idea what may be the issue here?
cheers, Martin Mosberger
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It is correct that the image data can be shifted. Offsets will be updated appropriately to reflect new positions. The file is efficiently handled.
About the thumbnails, if you open a bug and attach the following, I could take a look at it:
- the image before it's updated
- a complete but minimal code example that updates the image
- a list of the viewer(s) that are no longer able to read the thumbnail
Dan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What does the toolkit do, if I add MetaTags to an existing file? Viewing the file in a hex editor I have the impression that the whole image data is shifted (to make room for the tags).
Is this correct? If so, what happens to offsets?
(and if so, is there a more efficient way to add tags?)
Currently I have the problem that after adding tags to a JPEG that contains a thumbnail, some viewers are no longer able to read the thumbnail (they still can read the main image though).
Has anybody an Idea what may be the issue here?
cheers, Martin Mosberger
Martin,
It is correct that the image data can be shifted. Offsets will be updated appropriately to reflect new positions. The file is efficiently handled.
About the thumbnails, if you open a bug and attach the following, I could take a look at it:
- the image before it's updated
- a complete but minimal code example that updates the image
- a list of the viewer(s) that are no longer able to read the thumbnail
Dan
Thank you Dan. The issue I've been asking about seems to be a problem of a specific viewer rather then of the toolkit.
So there is no problem there.