jit.grgb2argb Converts GRGB to ARGB

The jit.grgb2argb object converts a 4-plane char GRGB (green left, red, green right, blue) matrix into a 4-plane char ARGB (alpha, red, green, blue) matrix. A default alpha channel (all on) is added and horizontal dimension is doubled for the output to account for this half red and blue chroma, macro pixel input format. The GRGB format is typically useful for conserving memory and/or bandwidth for continuous tone images with less expense than colorspace conversion.

Matrix Operator: in[1] out[1]
Name IOProc Planelink Typelink Dimlink Plane Dim Type
in n/a n/a n/a n/a n/a n/a n/a
out n/a yes yes no 4 all char

Example:

See Also:
jit.argb2grgb, jit.argb2uyvy, jit.colorspace, jit.traffic