mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 13:17:44 +00:00
LibPDF: Use proper ICC profiles for ICCBasedColorSpace
This commit is contained in:
parent
fa1b1f8244
commit
e989008471
2 changed files with 58 additions and 24 deletions
|
@ -9,6 +9,7 @@
|
|||
#include <AK/DeprecatedFlyString.h>
|
||||
#include <AK/Forward.h>
|
||||
#include <LibGfx/Color.h>
|
||||
#include <LibGfx/ICC/Profile.h>
|
||||
#include <LibPDF/Value.h>
|
||||
|
||||
#define ENUMERATE_COLOR_SPACE_FAMILIES(V) \
|
||||
|
@ -137,7 +138,10 @@ public:
|
|||
ColorSpaceFamily const& family() const override { return ColorSpaceFamily::ICCBased; }
|
||||
|
||||
private:
|
||||
ICCBasedColorSpace() = delete;
|
||||
ICCBasedColorSpace(NonnullRefPtr<Gfx::ICC::Profile>);
|
||||
|
||||
static RefPtr<Gfx::ICC::Profile> s_srgb_profile;
|
||||
NonnullRefPtr<Gfx::ICC::Profile> m_profile;
|
||||
};
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue