mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 07:47:37 +00:00
LibGfx: Allow images to report that they are originally grayscale
...and implement it in JPEGLoader. Since it's easy to get the grayscale data off a Bitmap, don't add a grayscale_frame() accessor.
This commit is contained in:
parent
239da5132d
commit
d8ada20bae
2 changed files with 6 additions and 1 deletions
|
@ -31,6 +31,7 @@ struct VectorImageFrameDescriptor {
|
|||
|
||||
enum class NaturalFrameFormat {
|
||||
RGB,
|
||||
Grayscale,
|
||||
CMYK,
|
||||
Vector,
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue