floating point support

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
eastern_strider

floating point support

Post by eastern_strider »

Hi,

I'm dealing with some images whose pixels are encoded in floating point values. Would it be possible to manipulate such images using Magick++?
I believe this question could be rephrased as does Magick++ have floating point pixel support?

Thanks,
Oguz
eastern_strider

floating point support

Post by eastern_strider »

After delving into the c files, I've found that imagemagick doesn't deal with floating point data the way that I need. It is possible to construct an image from a floating point array, but internally imagemagick converts the floating values into integer types (char, short, int) depending on the QuantumDepth.

I need the data to stay as floating point all throughout the loading, manipulating, and saving steps. So unfortunately, it seems, imagemagick doesn't give full support to floating point images.

Cheers,
Oguz
Post Reply