Sorry, can not handle images with 32-bit samples
Posted: 2019-05-18T01:14:10-07:00
Hi folks,
I'm having a hard time working with tiffs in ImageMagick. This is my first time properly using ImageMagick. The error I'm getting is "Sorry, can not handle images with 32-bit samples". I have Googled this, and found that the version I was using (CentOS 7 EPEL) was compiled with Q16:
I downloaded and compiled the latest ImageMagick from the site today, and compiled it with the flags I needed:
Which produces (note the new quantum-depth):
But when I try the original conversion again, I get the same error. I'm at a total loss of what might be going on. Has anybody seen this before?:
Thanks a lot for any help.
I'm having a hard time working with tiffs in ImageMagick. This is my first time properly using ImageMagick. The error I'm getting is "Sorry, can not handle images with 32-bit samples". I have Googled this, and found that the version I was using (CentOS 7 EPEL) was compiled with Q16:
Code: Select all
# /usr/bin/convert -list configure | grep 'quantum\|DELEGATES'
DELEGATES bzlib fontconfig freetype gs jpeg jng jp2 lzma openexr pango png rsvg tiff x11 xml wmf zlib
DISTCHECK_CONFIG_FLAGS 'CFLAGS=-O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic' 'LDFLAGS=-Wl,-z,relro ' --disable-deprecated --with-quantum-depth=16 --with-umem=no --with-autotrace=no --with-dps=no --with-fontpath= --with-gvc=no
Code: Select all
./configure --with-quantum-depth=32 --enable-hdri --with-jpeg=yes --with-png=yes --with-tiff=yes --with-zlib=yes
Code: Select all
# /usr/local/bin/convert -list configure | grep 'quantum\|DELEGATES'
CONFIGURE ./configure '--with-quantum-depth=32' '--enable-hdri' '--with-jpeg=yes' '--with-png=yes' '--with-tiff=yes' '--with-zlib=yes'
DELEGATES mpeg openjp2 png ps tiff zlib
DISTCHECK_CONFIG_FLAGS --disable-deprecated --with-quantum-depth=32 --with-jemalloc=no --with-umem=no --with-autotrace=no --with-gslib=no --with-fontpath= --with-rsvg=no --with-perl=no
DELEGATES jp2 png tiff zlib
Code: Select all
# /usr/local/bin/convert dsm.tif out.png
convert: Unknown field with tag 33550 (0x830e) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/995.
convert: Unknown field with tag 33922 (0x8482) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/995.
convert: Unknown field with tag 34735 (0x87af) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/995.
convert: Unknown field with tag 34737 (0x87b1) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/995.
convert: Unknown field with tag 42112 (0xa480) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/995.
convert: Unknown field with tag 42113 (0xa481) encountered. `TIFFReadDirectory' @ warning/tiff.c/TIFFWarnings/995.
convert: Sorry, can not handle images with 32-bit samples. `dsm.tif' @ error/tiff.c/TIFFErrors/656.
#