[magick-users] cnvert hdr format to tiff

Roberto Brunelli roby.brunelli at gmail.com
Tue Nov 20 07:49:44 PST 2007


Dear you all,

I'm currently using (ImageMagick 6.3.5)

 convert -depth 32 -define quantum:format=floating-point
${imageName}.hdr ${imageName}.tif

to convert images generated with megapov (hdr format) to floating
point tiff. When I read the resulting
tiff files with my code (interfacing to libtiff) I get very large
values (up to 5284661760, may be more) even if the images are fine (I
mean, they are correct apart from the large range).

Is it my fault in reading them or are they affected by a global scale value?
If there is a global scale value, what is it? I would rather normalize
by it then fixing the maximum value to 1.

Thanks a lot for your help,

Roberto


More information about the Magick-users mailing list