1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-10 07:07:36 +00:00

PNGLoader: Support for color type 2 (RGB triplets) and multiple IDAT chunks.

This commit is contained in:
Andreas Kling 2019-03-21 05:24:42 +01:00
parent 42755e98cf
commit 65348e7dc1
4 changed files with 83 additions and 54 deletions

View file

@ -48,7 +48,7 @@ public:
operator WSAPI_Size() const;
String to_string() const { return String::format("[%d,%d]", m_width, m_height); }
String to_string() const { return String::format("[%dx%d]", m_width, m_height); }
private:
int m_width { 0 };