#18 Creating bad 4 channel TIFFs

open
nobody
None
5
2012-10-31
2006-01-31
holden
No

I'm trying to write a 4-channel LZW TIFF (RGB + Alpha).
It seems to work and, in fact, the file does open in
Photoshop, but, the file does not return the same pixel
values when reopened using FreeImage. If I open and
save the file in Photoshop, it will then open correctly
using FreeImage. Other file formats, such a PNG work
fine, so I'm fairly sure the calling code is correct.
I tried this with FreeImagePlus and FreeImage, and got
the same results for both.

I wouldn't mind using PNG, but 4-channel PNGs don't
open correctly in Photoshop - They open as some kind of
semi-transparent RGB image without an alpha channel.

Discussion


Anonymous


Cancel   Add attachments