the images are seperated by channel.  man image(6) and draw(3).
a 24-bit image is 1 byte each r, g, b premultiplied by the alpha channel
which is in the fourth byte.

- erik

On Thu Oct 26 12:44:26 EDT 2006, [EMAIL PROTECTED] wrote:
> Once you've converted the jpegs to plan9 bitmaps, what's the point of 
> having them hanging around in memory ?
> 
> 
> For image editing etc. the plan9 bitmap is not the best structure (imho)
> You'll need the images separated into colour channels, RGBA for 
> instance, if you want to do anything interesting with them.
> 
> I started such a beast that mounted images as RGB/HSB with alpha and got 
> it to do a few tricks, it has a couple of bugs so I never released it.
> 
> I think I talked about it on the list but it might have been in IRC
> 
> Matt

Reply via email to