Page 1 of 1
32-bit sample TIF's can't be handled
Posted: 2016-04-26T17:37:41-07:00
by digitalis99
I'm trying to work with some TIFF output images from some newer render apps, and I'm having a bit of trouble. When attempting to run a simple identify -verbose someimage.tif, I get this output at the end:
Code: Select all
identify.exe: Sorry, can not handle images with 32-bit samples. `c:\Users\joe\Desktop\someimage.tif' @ error/tiff.c/TIFFErrors/557.
I'm running the latest IM public Windows binary, 6.9.3-8 Q16 HDRI x64 (static). I'm assuming IM simply can't work with these kinds of files yet, is that correct?
Re: 32-bit sample TIF's can't be handled
Posted: 2016-04-26T17:47:04-07:00
by snibgo
IM happily reads tiff files with 32 (or even 64) bits/channel/pixel. To make effective use of them, you should use Q32 (or Q64), not Q16.
But I doubt that is the problem here. Can you upload a problem tiff and paste the link here?
Re: 32-bit sample TIF's can't be handled
Posted: 2016-04-27T10:28:45-07:00
by digitalis99
There is a Q32 or Q64??? I don't see any compiled Windows binary listed higher than Q16 on the download page. Does that mean I'd have to compile my own? (Ick)
Re: 32-bit sample TIF's can't be handled
Posted: 2016-04-27T10:59:32-07:00
by snibgo
Many varieties of IM are not available as pre-built binaries. 4 Q-levels, integer or HDRI, Win32 or Win64, static/dynamic/portable, so that's 48 varieties before considering the delegates.
For most purposes, Q16 (int or HDRI) is all I need. One job (for large displacements maps) needs the precision of Q32.
Building IM on Windows, using Cygwin, is easy. My "Compiling IM with Cygwin" page has the gory details.
Re: 32-bit sample TIF's can't be handled
Posted: 2016-05-01T18:39:49-07:00
by digitalis99
That's not an option for me, since I'd have to have Cygwin installed and running everywhere I want to run the binary. Anyone know if there are third-party compiled binaries somewhere?
Re: 32-bit sample TIF's can't be handled
Posted: 2016-05-01T18:52:04-07:00
by fmw42
see
http://web.archive.org/web/201109210047 ... /binaries/ for very old ones. Sorry I do not know of any current archives for Windows other than the IM binaries and source files. You could build your own binary from source.
Re: 32-bit sample TIF's can't be handled
Posted: 2016-05-01T18:59:05-07:00
by digitalis99
Ahh...nothing more than a bunch of older Q8 and Q16 stuff there.
Re: 32-bit sample TIF's can't be handled
Posted: 2016-05-01T19:03:58-07:00
by fmw42
IM 7 has now been release and has Windows binaries for Q16 HDRI. See
http://www.imagemagick.org/script/binar ... hp#windows.
Also see TIFF format -defines at
http://www.imagemagick.org/script/formats.php and at
http://www.imagemagick.org/script/comma ... php#define
In particular, the section on -define quantum:format=type
Re: 32-bit sample TIF's can't be handled
Posted: 2016-05-02T07:51:54-07:00
by digitalis99
So, are you trying to say that I have to specify additional command line switches when I run identify? Doesn't that negate the primary purpose of running identify at all?
Re: 32-bit sample TIF's can't be handled
Posted: 2016-05-02T08:22:14-07:00
by snibgo
As I said earlier:
Can you upload a problem tiff and paste the link here?
Re: 32-bit sample TIF's can't be handled
Posted: 2016-05-02T10:38:20-07:00
by fmw42
Just saying to use IM 7 to get a Q16 HDRI install.
Re: 32-bit sample TIF's can't be handled
Posted: 2016-05-02T12:50:22-07:00
by digitalis99
fmw42 wrote:Just saying to use IM 7 to get a Q16 HDRI install.
Tried that, throws the same error message.
snibgo wrote:As I said earlier:
Can you upload a problem tiff and paste the link here?
Yep, give this a shot:
www.kostov.com/IM/32biterror.tif
Re: 32-bit sample TIF's can't be handled
Posted: 2016-05-02T13:26:34-07:00
by snibgo
In various versions of IM, including Q32 and Q64 HRDI, "identify" is misreading this file, reporting it as "bilevel", with the error:
Code: Select all
identify: Sorry, can not handle images with 32-bit samples. `32biterror.tif' @ error/tiff.c/TIFFErrors/582.
The image shows with no problem in Microsoft Photo Viewer.
A developer needs to look at the file. Perhaps it is corrupt, or contains a feature that IM can't handle.
Re: 32-bit sample TIF's can't be handled
Posted: 2016-08-29T09:58:31-07:00
by memy_007
Hi! I'm new here, I have the same problem and I wonder if you could solve your problem, if you did you tell me how you did it?
Re: 32-bit sample TIF's can't be handled
Posted: 2016-08-29T10:06:45-07:00
by snibgo
@memy_007: upload your problem file and paste your link here.