xpra icon
Bug tracker and wiki

Opened 4 years ago

Closed 4 years ago

Last modified 4 years ago

#922 closed defect (fixed)

csc_cython produces images with red and blue channels swapped

Reported by: Antoine Martin Owned by: Antoine Martin
Priority: blocker Milestone: 0.16
Component: encodings Version: 0.15.x
Keywords: Cc:

Description

We don't use it much because we prefer opengl, and even opengl is disabled we usually have swscale available.
The code looks fine (similar to the opencl version).
It could just be that because we return RGBX instead of RGB, we end up in a different code path: paint_rgb32 instead of paint_rgb24..

Change History (2)

comment:1 Changed 4 years ago by Antoine Martin

Resolution: fixed
Status: newclosed

trunk fix in r9983: I'm just not clever enough to figure out how to derive the byte order, so we hardcode it instead (big endian not tested)

Will backport.

comment:2 Changed 4 years ago by Antoine Martin

This may need further work, as the same swapped colours occur with this fix applied (but with different library versions): #937.

Note: See TracTickets for help on using tickets.