Should this work? Bob has told me before that GM prefers to
drop EXIF
information but I really need it and do not want to link
another
external library (if I must, I must, though).
Image img(PATH);
Blob exif = img.profile("EXIF");
img.rotate(90);
img.profile("EXIF", exif);
img.write(PATH);
The image is being rotated and if I instrument the code to
print the
Blob returned by img.profile("EXIF"), it is quite
large. However,
writing the EXIF info back into the image is not working.
The docs make
me suspect that "EXIF" is not technically a
supported key for the
profile() method.
Richard
------------------------------------------------------------
-------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and
a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Graphicsmagick-help mailing list
Graphicsmagick-help lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gra
phicsmagick-help
|