Write four band image
Posted: 2018-12-06T00:10:20-07:00
Hi all,
This must be such a simple question for most of you. believe me I have searched for an answer, but I suppose I am just very new to ImageMagick,
When combining four individual sinlge band tifs to create a four band tif, How to I designate a fourth band to be just another layer of pixel values, and to NOT be interpreted as an Alpha band?
Similar to this (from here: https://www.imagemagick.org/script/comm ... hp#combine )
convert sepimage-0.tif sepimage-1.tif sepimage-2.tif -channel RGB \ -combine imagecopy.tif
But for four bands I am guessing something like this, with a letter (perhaps) to designate the fourth band?
convert sepimage-0.tif sepimage-1.tif sepimage-2.tif sepimage-3.tif -channel RGB? \ -combine imagecopy.tif
I have used:
convert sepimage-0.tif sepimage-1.tif sepimage-2.tif sepimage-3.tif -combine imagecopy.tif
And it works for the RGB layers, but the output includes an EXIF tag called "Extra Samples - Unassociated Alpha", which I believe is interpreted by most apps to mean that the fourth band is an Alpha channel.
Cheers
Murray
This must be such a simple question for most of you. believe me I have searched for an answer, but I suppose I am just very new to ImageMagick,
When combining four individual sinlge band tifs to create a four band tif, How to I designate a fourth band to be just another layer of pixel values, and to NOT be interpreted as an Alpha band?
Similar to this (from here: https://www.imagemagick.org/script/comm ... hp#combine )
convert sepimage-0.tif sepimage-1.tif sepimage-2.tif -channel RGB \ -combine imagecopy.tif
But for four bands I am guessing something like this, with a letter (perhaps) to designate the fourth band?
convert sepimage-0.tif sepimage-1.tif sepimage-2.tif sepimage-3.tif -channel RGB? \ -combine imagecopy.tif
I have used:
convert sepimage-0.tif sepimage-1.tif sepimage-2.tif sepimage-3.tif -combine imagecopy.tif
And it works for the RGB layers, but the output includes an EXIF tag called "Extra Samples - Unassociated Alpha", which I believe is interpreted by most apps to mean that the fourth band is an Alpha channel.
Cheers
Murray