Odd output from -sepia-tone with Q32
Posted: 2007-03-21T17:40:37-07:00
This is with ImageMagick 6-3.3 Q32. Using this image as input and this command:
I get this output image . Notice the pink areas around the hat's top and brim.
This is not causing me any sort of problem. I'm just trying to get RMagick to work with the Q32 (and eventually Q64) version of ImageMagick.
Coincidentally I have an RMagick test that calls ExportImagePixels to export all the pixels in the image and then constructs a 2nd image from the exported pixels by calling ImportImagePixels. The resulting image is incorrect in the same areas: This image shows a small error on her lower lip, too.
I haven't written a C equivalent reproduction for this one yet and I can't rule out some sort of error in RMagick that's to blame.
Code: Select all
convert Flower_Hat.jpg -sepia-tone 80% sepia.jpg
This is not causing me any sort of problem. I'm just trying to get RMagick to work with the Q32 (and eventually Q64) version of ImageMagick.
Coincidentally I have an RMagick test that calls ExportImagePixels to export all the pixels in the image and then constructs a 2nd image from the exported pixels by calling ImportImagePixels. The resulting image is incorrect in the same areas: This image shows a small error on her lower lip, too.
I haven't written a C equivalent reproduction for this one yet and I can't rule out some sort of error in RMagick that's to blame.