Configure with HDRI and Quantum Depth >16?

Post any defects you find in the released or beta versions of the ImageMagick software here. Include the ImageMagick version, OS, and any command-line required to reproduce the problem. Got a patch for a bug? Post it here.
troy_s
Posts: 23
Joined: 2010-11-28T01:57:31-07:00
Authentication code: 8675308

Re: Configure with HDRI and Quantum Depth >16?

Post by troy_s »

Same error. ImageMagick dumps some files, but nothing useful or usable yet.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Configure with HDRI and Quantum Depth >16?

Post by fmw42 »

In summary, I cannot convert due to that sample error.
I am also unable to compile both HDRI with >Q16.
I am also unable to get any meaningful data out of those TIFFs even with a disabled HDRI and enabling Q32, as the sampling error always appears.
At this point I am out of ideas. Hopefully Magick will take note and can test both your image and your Q32 HDRI problem.

Fred
User avatar
magick
Site Admin
Posts: 11064
Joined: 2003-05-31T11:32:55-07:00

Re: Configure with HDRI and Quantum Depth >16?

Post by magick »

The configure script locks the QuantumDepth @ 16 for HDRI, presumably because the pixel values are floating point. Edit MagickCore/magick-config.h and change MAGICKCORE_QUANTUM_DEPTH from 16 to 32 and rebuild / reinstall.
markmarques
Posts: 88
Joined: 2010-06-29T14:36:09-07:00
Authentication code: 8675308

Re: Configure with HDRI and Quantum Depth >16?

Post by markmarques »

i have managed to compile Imagemagick in Windows with HDRI and Q32 but in the previous example if I call convert I get the same errors ...
In the past with Q64 I got strange JPEGs results , solved with Q32 I think this problem might be related to the TIFF reading routines ... ...

Here is my version info and the errors ....

D:\ImageMagick-source\VisualMagick\bin>convert -version
Version: ImageMagick 6.7.0-7 2011-06-12 Q32 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2011 ImageMagick Studio LLC
Features: HDRI

D:\ImageMagick-source\VisualMagick\bin>convert -monitor sample32bpc-00.tif sample32.jpg
Save image[sample32.jpg]: 373 of 374, 100% completeplete
Magick: sample32bpc-00.tif: unknown field with tag 33550 (0x830e) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/706.
Magick: sample32bpc-00.tif: unknown field with tag 33922 (0x8482) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/706.
Magick: sample32bpc-00.tif: unknown field with tag 34735 (0x87af) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/706.
Magick: sample32bpc-00.tif: unknown field with tag 34736 (0x87b0) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/706.
Magick: sample32bpc-00.tif: unknown field with tag 34737 (0x87b1) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/706.
Magick: sample32bpc-00.tif: unknown field with tag 42113 (0xa481) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/706.
Magick: Sorry, can not handle images with 32-bit samples. `sample32bpc-00.tif' @error/tiff.c/TIFFErrors/496.

Any idea ?
Post Reply