Page 1 of 1

Save annotations without recoding image?

Posted: Thu Oct 29, 2015 2:15 pm
by floele
Hi,

is it possible to save annotations made with the GdViewer control to an existing image (as meta data) without re-encoding the image to avoid quality loss for JEPG files?

Best regards,
Florian

Re: Save annotations without recoding image?

Posted: Mon Nov 02, 2015 5:43 pm
by Loïc
Hello Florian,

It is possible to save the annotations content into a file. But GdPicture do not offer a way to modify metadata of a document without subsequent loading and saving steps.

Please let me know if you need further information.

With best regards,

Loïc

Re: Save annotations without recoding image?

Posted: Fri Dec 04, 2015 3:26 pm
by floele
How do you suggest to save annotations to a JPEG image then? You can hardly expect me to save them in a separate file, because your SDK advertises the ability to save annotations to images. It is not acceptable that the image quality deteriorates everytime an annotation is modified.

Re: Save annotations without recoding image?

Posted: Fri Dec 04, 2015 3:35 pm
by Loïc
As I previously said, if you want to modify the metadata stored into a bitmap file you have to open the bitmap, modify the metadata then save the bitmap. There is no other way. In the compression scheme if the bitmap is lossy, I can only suggest to save the metadata as a separated file or blob.

Kind regards,

Loïc

Re: Save annotations without recoding image?

Posted: Fri Dec 04, 2015 4:26 pm
by floele
The meta data is just some XML at the beginning of the file. Why would you not be able to only modify the XML without touching the image data?

Re: Save annotations without recoding image?

Posted: Fri Dec 04, 2015 4:48 pm
by Loïc
This is really not so easy to accomplish. GdPicture 11 do not support that yet but this feature is into our back log and will be probably considered soon.

Kind regards,

Loïc