Page 1 of 1

Read and write 32bit Tiff float with IM?

Posted: 2009-08-10T07:27:21-07:00
by jho
Hi,
i asked myself if I could read and write 32bit TIFF float with IM. I saw this thread viewtopic.php?f=2&t=12661 where it was mentioned that it should be in IM if HDRI is enabled.

In another thread i read that with the OpenEXR libraries which I guess I need to compile too only HALF 16 bit is possible.

So can anyone help me out?

Re: Read and write 32bit Tiff float with IM?

Posted: 2009-08-10T08:23:00-07:00
by fmw42
If you compile IM with 32-bit HDRI enabled, you can create and save 32bit images in miff, pfm (NetPPB format) and probably tif format. OpenEXR is supported in IM as half format meaning 16bits only.

see
http://www.imagemagick.org/script/advan ... lation.php


I currently am doing processing in 16bit HDRI to test FFT functions. Mac OSX Tiger. I do a manual install with

--with-quantum-depth=16 --enable-hdri

in my ./configure file

you can change it to

--with-quantum-depth=32 --enable-hdri

I have never run 32bit IM (Q32)

Re: Read and write 32bit Tiff float with IM?

Posted: 2009-08-10T09:05:23-07:00
by jho
Ok, I thought i need the OpenEXR library for that. So I only need to compile it with the hdri setting enabled.

Re: Read and write 32bit Tiff float with IM?

Posted: 2009-08-10T09:52:37-07:00
by fmw42
you need the OpenEXR libraray installed only if you want to read or save .exr format images. But as they are only half format 16-bits and if you truly want 32-bits then I would avoid it.

Please keep us posted as to your progress and success as I have had no experience with 32-bit IM (Q32) hdri or not.

Re: Read and write 32bit Tiff float with IM?

Posted: 2009-08-14T01:52:58-07:00
by jho
Hi, i compiled IM for me with HDRI enabled (64bit) and it works with TIFF 32bit.

I would like test OPenExr but I dont know how to use it within the Visual Studio. I searched for a "how to" but could not find a hint.

Can someone describe me what I need to do with the OpenEXR files from the website and how to put them into the Visual Studio project?