I'm sure you thought of it but for now could you use RGBA? Probably not,
but what would an alignment of 4 refer to? Is it size in bytes or channels?
Could you describe a use case?
Regards,
Christian
On Thu, Dec 26, 2013 at 10:21 AM, TONGARI J
2013/12/26 TONGARI J
Hi there,
The current gil::pixel design has a deficiency that you can't specify the align of pixel, for example, you can't have an RGBX pixel in GIL where X is padding.
An alternative is to introduce a dummy channel for X, but that doesn't seem to be a good idea as we don't want to mess up the color space.
So, maybe it'd be better to extend the current design, say, pixel
, to something like pixel . Then we can specify RGBX as pixel
, or XRGB as pixel where minus means left justify. Sorry, I mean RGBX as pixel
; XRGB as pixel , apparently I'm confused by myself :p Ideas?
_______________________________________________ Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost