Page 1 of 1

HDRI 32 bit TIF to EXR

Posted: 2009-06-30T19:07:21-07:00
by senatorbard
Hello,

I am a big rookie on Linux, so if you could be so kind, please be detailed in your explanations.

I'm trying to convert a 32 bit TIF to 32 bit EXR. I have ubuntu and I have downloaded Image Magick through Synaptic Package Manager.

I understand that you must configure Image Magick to HDRI to convert 32 bit images. It looks like I may have to build from scratch?
I'm nervous about doing this - I tried building once and the only way to get image magick working again, I had to reinstall my OS. Is there any way to get a package download that already has HDRI activated?

If not, could you please give me detailed description about configuring HDRI. If I do build, what directory is the best place to build? How do I uninstall an unsuccessful build? I need step-by-step. Sorry for being such a newb.

Thank you so kindly - I appreciate any help you can offer!

Re: HDRI 32 bit TIF to EXR

Posted: 2009-06-30T20:20:16-07:00
by magick
See http://www.imagemagick.org/script/advan ... lation.php for advanced installation instructions.

To enable HDRI, type
  • cd ImageMagick-6.5.4-1
    ./configure --enable-hdri
    make
    sudo make instal

Re: HDRI 32 bit TIF to EXR

Posted: 2009-06-30T20:55:19-07:00
by fmw42
Please note that I believe IM will only handle openEXR "half" format (16-bits). But please confirm this with the IM folks.

see http://www.openexr.com/index.html

Re: HDRI 32 bit TIF to EXR

Posted: 2009-07-01T08:32:26-07:00
by senatorbard
magick wrote:See http://www.imagemagick.org/script/advan ... lation.php for advanced installation instructions.

To enable HDRI, type
  • cd ImageMagick-6.5.4-1
    ./configure --enable-hdri
    make
    sudo make instal
Do I need to download the zipped version or can I use the one that came from syanptic?
sorry - I'm really new at this stuff. Could use just a few more details. Should I be in a certain directory when I install and use image magick?

Re: HDRI 32 bit TIF to EXR

Posted: 2009-07-01T08:57:30-07:00
by senatorbard
I typed in

./configure --enable-hdri
make


I got the following errors:

magick/quantum-export.c: In function ‘ExportQuantumPixels’:
magick/quantum-export.c:2356: error: invalid operands to binary << (have ‘Quantum’ and ‘int’)
magick/quantum-export.c:2356: error: invalid operands to binary << (have ‘Quantum’ and ‘int’)
magick/quantum-export.c:2357: error: invalid operands to binary << (have ‘Quantum’ and ‘int’)
magick/quantum-export.c:2360: error: invalid operands to binary << (have ‘Quantum’ and ‘int’)
magick/quantum-export.c:2360: error: invalid operands to binary << (have ‘Quantum’ and ‘int’)
magick/quantum-export.c:2361: error: invalid operands to binary << (have ‘Quantum’ and ‘int’)
make[1]: *** [magick/magick_libMagickCore_la-quantum-export.lo] Error 1
make[1]: Leaving directory `/home/christopher/Desktop/ImageMagick-6.5.4-1'
make: *** [all] Error 2

Re: HDRI 32 bit TIF to EXR

Posted: 2009-07-01T09:12:43-07:00
by magick
We have a patch for the problem you reported. Look for it in ImageMagick 6.5.4-2 beta available by tomorrow. Thanks.