freetype-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft-devel] CPAL interface


From: Alexei Podtelezhnikov
Subject: Re: [ft-devel] CPAL interface
Date: Tue, 15 May 2018 23:11:37 -0400

>    *   The used color space is sRGB; the colors are not pre-multiplied, and
>    *   alpha values must be explicitly set.

This somewhat contradicts with
https://www.freetype.org/freetype2/docs/reference/ft2-basic_types.html#FT_PIXEL_MODE_BGRA,
which is premultiplied.

Also I thought that sRGB means blending with gamma correction of 2 or
so. Did I miss it?
http://git.savannah.gnu.org/cgit/freetype/freetype2.git/tree/src/base/ftbitmap.c#n457
Is this reusable somehow?



reply via email to

[Prev in Thread] Current Thread [Next in Thread]