Search found 2 matches

by Stalkerx777
2015-03-30T06:13:25-07:00
Forum: Magick++
Topic: OpenEXR to ImageMagick color problem
Replies: 3
Views: 14023

Re: OpenEXR to ImageMagick color problem

Can't you do it at the command line? See http://www.imagemagick.org/Usage/formats/#rgb
No, i can't use convert command, i need to do some image processing in c++

How are you reading the OpenEXR image and can you share that image?

This is openEXR converted to JPEG with "3rd party tool":
https ...
by Stalkerx777
2015-03-30T02:40:12-07:00
Forum: Magick++
Topic: OpenEXR to ImageMagick color problem
Replies: 3
Views: 14023

OpenEXR to ImageMagick color problem

Hi,

I have a pointer to RGBA data, which i've read from openEXR file.

// Rgba is a struct of halfs(openexr float type) r,g,b,a. (i.e sizeof(half) == sizeof(float))
Array2D<Rgba> pixels;
Magick::Image im(/*size*/);
im.magick("RGBA");
Magick::Blob blob(&pixels[0][0], (width * height) * sizeof(Rgba ...