xmlgraphics-batik-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nishant <nisha...@yahoo.com>
Subject png: alpha channel or mono color?
Date Fri, 14 Mar 2003 01:54:34 GMT
Hi every1,
I need to find that a given png image is an 'alpha channel'
or
'monocolor' image. (though i dont have much idea, about
what is that ?)

I have the data for the color type of the image and the
specification
says that:
  Color    Allowed    Interpretation
   Type    Bit Depths
   
   0       1,2,4,8,16  Each pixel is a grayscale sample.
   
   2       8,16        Each pixel is an R,G,B triple.
   
   3       1,2,4,8     Each pixel is a palette index;
                       a PLTE chunk must appear.
   
   4       8,16        Each pixel is a grayscale sample,
                       followed by an alpha sample.
   
   6       8,16        Each pixel is an R,G,B triple,
                       followed by an alpha sample.

which one of them are monocolor and which are the alpha
channel?
I think respective to colortype 0 and 2 are monocolor and
rest alpha
channel... is that correct.

Thanks for any info.
Regards,
Nishant




________________________________________________________________________
Missed your favourite TV serial last night? Try the new, Yahoo! TV.
       visit http://in.tv.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: batik-users-unsubscribe@xml.apache.org
For additional commands, e-mail: batik-users-help@xml.apache.org


Mime
View raw message