Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upDon't decode grayscale PNGs to RGB #3266
Open
Labels
Comments
|
Servo no longer uses Azure. Is this still an issue? |
|
According to servo/components/net_traits/image/base.rs Lines 53 to 67 in 292d6ec |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
servo/rust-png#45 makes our PNG library always decode to RGBA format in memory, because our graphics code (azure) doesn't work with grayscale sources. We could save memory for grayscale images by adding support for grayscale in-memory representations.