-
Hello, I am writing a program that receives Xrgb values. By that, I mean that there are 4 8 bit channels, x, r, g and b, where x is an unused padding channel. What would be the easiest way to manipulate this kind of image using |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
The easiest thing is probably to do a pass over your image and convert it into the format expected by |
Beta Was this translation helpful? Give feedback.
-
Right, so something like? (pseudocode):
|
Beta Was this translation helpful? Give feedback.
The easiest thing is probably to do a pass over your image and convert it into the format expected by
from_raw
(packed R, G, and B channels in that order with no padding).