convert -alpha off creates strange TIFF
Posted: 2018-10-31T11:35:03-07:00
I completely remove the alpha channel of a TIFF resulting from a tool that will only output 4-channel TIFFs by
(It seems to work well with the same file as input and output.)
The problem is that Mac OS' (10.11) Finder preview will only show a completely black file while Lightroom shows the correct file contents. On the other side, a TIFF with 3 channels, exported from Lightroom will appear correctly in preview.
Now I create a cropped TIFF from both files, from the original 4-channel and the 3-channel TIFF:
Result is that both clipped files will show correctly in preview. So what is wrong with the TIFF file resulting from -alpha off? I don't want to create separate preview JPEGs for all my TIFFs.
Code: Select all
convert inputimg -alpha off outputimg
The problem is that Mac OS' (10.11) Finder preview will only show a completely black file while Lightroom shows the correct file contents. On the other side, a TIFF with 3 channels, exported from Lightroom will appear correctly in preview.
Now I create a cropped TIFF from both files, from the original 4-channel and the 3-channel TIFF:
Code: Select all
convert 4channel.tif -crop 400x400+200+200 4channel_clip.tif
convert 3channel.tif -crop 400x400+200+200 3channel_clip.tif