IM can't read png as pseudo-class
Posted: 2012-01-23T09:46:49-07:00
Hi!
System:
OS: CentOS 5.5
Version: ImageMagick 6.6.5-10 2010-11-26 Q16 http://www.imagemagick.org
I have a problem.
When I "identify" a png file, the result showed:
Class: DirectClass
But, this png file has indexed-colors(palette, colormap).
So, I want IM to indetify it as "PseudoClass", and I want to get infomations of indexed-colors(palette, colormap).
----------------------
And, the indexed-colors(palette, colormap) of the png have an alpha value.
So, with IM ( I use perlmagick ), I want to get color infomations that contain alpha value by doing following :
$color = $image->Get( "colormap[ $i ]" )
Sorry for my clumsy English.
Thanks.
System:
OS: CentOS 5.5
Version: ImageMagick 6.6.5-10 2010-11-26 Q16 http://www.imagemagick.org
I have a problem.
When I "identify" a png file, the result showed:
Class: DirectClass
But, this png file has indexed-colors(palette, colormap).
So, I want IM to indetify it as "PseudoClass", and I want to get infomations of indexed-colors(palette, colormap).
----------------------
And, the indexed-colors(palette, colormap) of the png have an alpha value.
So, with IM ( I use perlmagick ), I want to get color infomations that contain alpha value by doing following :
$color = $image->Get( "colormap[ $i ]" )
Sorry for my clumsy English.
Thanks.