Properties set in image do not appear in written image.
Posted: 2009-07-16T09:16:58-07:00
I'm new at ImageMagick so it's likely I'm doing something wrong, but so far it escapes me.
I'm using the MagickWand API (version 6.5.4-1) with C on a Red Hat Linux system. I'm doing the following:
1. Read an existing JPEG with MagickReadImage().
2. Apply one or more properties using MagickSetImageProperty().
3. Verify that the properties have been set using MagickGetImageProperty().
4. Write the file to a separate path using MagickWriteImage().
5. List the image file characteristics and properties using the identify tool (with the -verbose option).
6. The properties added to the image are not found in the newly written image file, in spite of the fact that they were verified present in the image before it was written.
Questions:
Is there something I'm supposed to do with the profile?
Is this simply the way it works?
Any advice will be appreciated.
Thanks.
I'm using the MagickWand API (version 6.5.4-1) with C on a Red Hat Linux system. I'm doing the following:
1. Read an existing JPEG with MagickReadImage().
2. Apply one or more properties using MagickSetImageProperty().
3. Verify that the properties have been set using MagickGetImageProperty().
4. Write the file to a separate path using MagickWriteImage().
5. List the image file characteristics and properties using the identify tool (with the -verbose option).
6. The properties added to the image are not found in the newly written image file, in spite of the fact that they were verified present in the image before it was written.
Questions:
Is there something I'm supposed to do with the profile?
Is this simply the way it works?
Any advice will be appreciated.
Thanks.