Pdiff can't open 96-bit or 128-bit floating point TIFFs
Brought to you by:
yeehector
Pdiff can't open 96-bit or 128-bit floating point TIFFs
I generate 128-bit floating point TIFFs and when running pdiff, it would report
Failed to load the image foo.tiff
FAIL: Cannot open foo.tiff
Reproducible Steps:
1. using the image attached, run pdiff foo.tiff foo.tiff
Pdiff reports an error
FreeImage supports 128-bit TIFFs, but it looks like Pdiff is assuming the image doesn't use 32-bit color depth and is trying to convert all images to 32 bits per color channel. FreeImage returns NULL when asked to convert an 32-bit color depth image to 32-bit color depth. Assuming FreeImage is correct, Pdiff shouldn't try to convert 96-bit or 128-bit images.
This change fixes this issue
Thanks how can I get this patch in I haven't used sourceforge in years is
it possible to give you commit rights?
On Jan 14, 2014 5:19 PM, "Mark MacVicar" mmacvicar@users.sf.net wrote:
According to
http://sourceforge.net/apps/trac/sourceforge/wiki/Subversion%20permissions%20management,
a project developer or administrator could give me permission. I'll gladly
commit it. I might even update the projects to VS2010 or VS2012, but doubt
I'll be much more help than that.
Thanks,
Mark MacVicar
On Tue, Jan 14, 2014 at 5:44 PM, yeehector yeehector@users.sf.net wrote: