Colour manage all WebP forms

It could be done better, but at least it works at all.
This commit is contained in:
2021-12-26 00:30:30 +01:00
parent ccf15bc8ae
commit e37acf365a
2 changed files with 28 additions and 12 deletions

View File

@@ -25,6 +25,7 @@
// TODO(p): Make it possible to use Skia's skcms,
// which also supports premultiplied alpha.
// NOTE: Little CMS will probably start supporting premultiplied alpha in 2022.
typedef void *FivIoProfile;
FivIoProfile fiv_io_profile_new(const void *data, size_t len);
FivIoProfile fiv_io_profile_new_sRGB(void);