
29 Dec
2013
29 Dec
'13
4:42 a.m.
2013/12/29 Christian Henning <chhenning@gmail.com>
So, pixel<uint8_t, rgb_layout, 1 > in memory looks like ( a letter representing a byte ):
rgbxrgbxrgbx...
pixel<uint8_t,rgb_layout, 2 > would be
rgbxxrgbxxrgbxx...
Is that correct?
Yes.
Do you already have some code which could be added to GIL? I would be willing to incorporate it and write tests and update documentation.
Here's some code I extracted from my own lib, surely it won't compile for you, but I hope you'd get some idea. https://www.dropbox.com/sh/4dwin19dtcva5q5/k1cNXd0oyD