This test image is a tga from LightWave that contains 8bit R/G/B/A, and displays normally in eg. XnView (free image viewer which can show alpha channel information) and eog(1) ('Eye Of Gnome):
http://seriss.com/people/erco/tmp/BATCH ... 2_0001.tga
'identify' from old versions of IM (eg. linux / IM 6.0.1) recognize the alpha channel, but more recent versions can't discern it, thinking its an RGB image without alpha.
I first noticed this when trying to composite the images, and found the alpha channel was being dropped in the comps.
Here's output from various versions of IM run on the same image, see 'GOOD' vs. 'BAD' notes:
Code: Select all
******* IM 6.0.1 (linux) *******
Image: BATCHTEST_SIMPLE_R01_022_0001.tga
Format: TGA (Truevision Targa image)
Geometry: 1920x1080
Class: DirectClass
Colorspace: RGB
Type: TrueColorMatte
Depth: 8 bits
Endianess: Undefined
Channel depth:
Red: 8-bits
Green: 8-bits
Blue: 8-bits
Opacity: 8-bits <-- GOOD: detects alpha
Channel statistics:
Red:
..min/max/mean snipped..
Green:
..min/max/mean snipped..
Blue:
..min/max/mean snipped..
Opacity: <-- GOOD: detects alpha
..min/max/mean snipped..]
Opacity: (19275,14906,13364,65535) #4B4B3A3A3434FFFF
..
******* IM 6.2.4 (linux) *******
BATCHTEST_SIMPLE_R01_022_0001.tga TGA 1920x1080 DirectClass 113kb
Image: BATCHTEST_SIMPLE_R01_022_0001.tga
Format: TGA (Truevision Targa image)
Geometry: 1920x1080
Class: DirectClass
Type: TrueColor
Endianess: Undefined
Colorspace: RGB
Channel depth:
Red: 8-bits
Green: 8-bits
Blue: 8-bits <-- BAD: No alpha
Channel statistics:
Red:
..min/max/mean snipped..
Green:
..min/max/mean snipped..
Blue:
..min/max/mean snipped..
Colors: 1267 <-- BAD: No alpha
..
******* IM 6.3.5 (windows) *******
Image: BATCHTEST_SIMPLE_R01_022_0001.tga
Format: TGA (Truevision Targa image)
Class: DirectClass
Geometry: 1920x1080+0+0
Type: TrueColor
Endianess: Undefined
Colorspace: RGB
Depth: 8-bit
Channel depth:
Red: 8-bit
Green: 8-bit
Blue: 8-bit <-- BAD: no alpha
Channel statistics:
Red:
..min/max/mean snipped..
Green:
..min/max/mean snipped..
Blue:
..min/max/mean snipped..
Rendering intent: Undefined <-- BAD: no alpha
..
****************************************************************************