Odd output from -sepia-tone with Q32

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
rmagick
Posts: 245
Joined: 2006-03-16T17:30:48-07:00
Location: Durham, NC, USA

Odd output from -sepia-tone with Q32

Post by rmagick »

This is with ImageMagick 6-3.3 Q32. Using this image as input Image and this command:

Code: Select all

convert Flower_Hat.jpg -sepia-tone 80% sepia.jpg
I get this output image 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: Image 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.
Post Reply