1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 20:47:45 +00:00

LibPDF: Extract ICCBasedColorSpace::sRGB() helper

This commit is contained in:
Nico Weber 2023-10-20 08:17:14 -04:00 committed by Andreas Kling
parent 4704e6aa5f
commit c161b2d2f9
2 changed files with 10 additions and 4 deletions

View file

@ -188,6 +188,8 @@ public:
Vector<float> default_decode() const override;
ColorSpaceFamily const& family() const override { return ColorSpaceFamily::ICCBased; }
static NonnullRefPtr<Gfx::ICC::Profile> sRGB();
private:
ICCBasedColorSpace(NonnullRefPtr<Gfx::ICC::Profile>);