Closed page200 closed 1 year ago
Thanks, see #263
This does not seam to appear in cairo 1.23 when installing via pip in a docker container (base image python:3.9-slim).
This is a bit over my head and I am not sure if this is even the correct place to ask/tell this. sorry if not, am learning.
Host system; Windows 11, python 3.9
In [8]: cairo.version
Out[8]: '1.23.0'
In [9]: dir(cairo.Format)
Out[9]:
['A1',
'A8',
'ARGB32',
'INVALID',
'RGB16_565',
'RGB24',
'RGB30',
'RGB96F',
'RGBA128F',...
Container; base image: python:3.9-slim
>>> cairo.version
'1.23.0'
>>> dir(cairo.Format)
['A1', 'A8', 'ARGB32', 'INVALID', 'RGB16_565', 'RGB24', 'RGB30', '__abs__',...
Edit: I created its own issue for this, so it might be seen by someone who can point out my error
Cairo offers
CAIRO_FORMAT_RGB96F
andCAIRO_FORMAT_RGBA128F
here: https://gitlab.freedesktop.org/cairo/cairo/-/blob/8f1190dc825ad9ca805c39025dcbcb9aed8b496d/src/cairo.h#L410-411Please support them in cairo.Format.
That would be crucial for an unbiased restrospective correction of Cairo's incorrect treatment of sRGB.