pixel depth assumptions
grabya opened this issue · comments
The capture assumes x display has 4 bytes per pixel (e.g. memcpy size of width * height * 4)
The encoder assumes 4 bytes per pixel (i.e. RGBA)
Hi,
Yes, XImage return by X11 server always have 4 bytes per pixel in the BGRA format