mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-13 13:02:28 +00:00
LibGfx: Add CMYKBitmap
This is a simple container for 2d CMYK data. This is a new class instead of a new format in Bitmap because: * Almost all clients of Bitmap will want to deal with RGB data * It keeps the ARGB32 typedef working * Bitmap already does a lot of things The idea is that a few select places will be able to use CMYKBitmap and a color profile to do a better CMYK -> RGB conversion than an image decoder could do, and then store the result in a Bitmap for later display then. CMYKBitmap misses some of Bitmap's features, such as shared memory support, high-dpi scaling capability, etc.
This commit is contained in:
parent
c997ee7b9d
commit
bc6eebb1d7
Notes:
sideshowbarker
2024-07-17 01:06:10 +09:00
Author: https://github.com/nico
Commit: bc6eebb1d7
Pull-request: https://github.com/SerenityOS/serenity/pull/22650
Reviewed-by: https://github.com/LucasChollet ✅
4 changed files with 88 additions and 0 deletions
|
@ -9,6 +9,7 @@
|
|||
namespace Gfx {
|
||||
|
||||
class Bitmap;
|
||||
class CMYKBitmap;
|
||||
class ImmutableBitmap;
|
||||
class CharacterBitmap;
|
||||
class Color;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue