1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:08:11 +00:00
serenity/Userland/Libraries/LibGfx
Luke c3d4fbb2a5 LibGfx: Use zlib instead of just deflate when loading PNGs
PNGs use deflate with zlib, however we were just skipping the zlib
bytes and then piping it into deflate decompressor. Since we have a
zlib decompressor, lets use that instead.

This has the added benefit of extra error checking.
2021-03-28 20:40:44 +02:00
..
Filters Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
AffineTransform.cpp Everywhere: Remove klog(), dbg() and purge all LogStream usage :^) 2021-03-12 17:29:37 +01:00
AffineTransform.h Everywhere: Remove klog(), dbg() and purge all LogStream usage :^) 2021-03-12 17:29:37 +01:00
Bitmap.cpp LibGfx: Add BitmapFormat::RGBA8888 2021-03-16 12:09:15 +01:00
Bitmap.h LibGfx: Add BitmapFormat::RGBA8888 2021-03-16 12:09:15 +01:00
BitmapFont.cpp Userland: Remove superfluous headers 2021-03-11 12:32:53 +01:00
BitmapFont.h Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
BMPLoader.cpp LibGfx: Rename 32-bit BitmapFormats to BGRA8888 and BGRx888x 2021-03-16 11:50:03 +01:00
BMPLoader.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
BMPWriter.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
BMPWriter.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
CharacterBitmap.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
CharacterBitmap.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ClassicStylePainter.cpp LibGfx+LibGUI: Add support for vertical ProgressBars 2021-03-12 09:59:03 +01:00
ClassicStylePainter.h LibGfx+LibGUI: Add support for vertical ProgressBars 2021-03-12 09:59:03 +01:00
ClassicWindowTheme.cpp WindowServer+LibGfx: Make menubar menus slightly larger 2021-03-26 14:25:37 +01:00
ClassicWindowTheme.h WindowServer+LibGfx: Show menus in windows! :^) 2021-03-25 22:14:09 +01:00
CMakeLists.txt LibCore+LibHTTP+LibGfx: Switch to LibCompress 2021-03-03 23:42:32 +01:00
Color.cpp Everywhere: Remove klog(), dbg() and purge all LogStream usage :^) 2021-03-12 17:29:37 +01:00
Color.h Everywhere: Remove klog(), dbg() and purge all LogStream usage :^) 2021-03-12 17:29:37 +01:00
DisjointRectSet.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
DisjointRectSet.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Emoji.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Emoji.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Font.h LibGfx: draw_glyph_or_emoji fix check for available glyph 2021-02-15 08:50:48 +01:00
FontDatabase.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
FontDatabase.h LibGfx: Add more query methods to FontDatabase and Typeface 2021-02-15 08:50:48 +01:00
Forward.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Gamma.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
GIFLoader.cpp LibGfx: Rename 32-bit BitmapFormats to BGRA8888 and BGRx888x 2021-03-16 11:50:03 +01:00
GIFLoader.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ICOLoader.cpp LibGfx: Rename 32-bit BitmapFormats to BGRA8888 and BGRx888x 2021-03-16 11:50:03 +01:00
ICOLoader.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ImageDecoder.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
ImageDecoder.h Libraries: Add missing headers 2021-01-22 21:49:54 +01:00
JPGLoader.cpp LibGfx: Don't truncate macroblock indices in JPG decoder. 2021-03-16 22:17:15 +01:00
JPGLoader.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Matrix.h Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
Matrix4x4.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Orientation.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Painter.cpp LibGfx: Don't use target's alpha if it doesn't have one (#5888) 2021-03-21 09:40:14 +01:00
Painter.h LibWeb: Make CSS background image painting respect destination origin and transparency 2021-03-06 14:56:31 +01:00
Palette.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
Palette.h Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
Path.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
Path.h Everywhere: Remove klog(), dbg() and purge all LogStream usage :^) 2021-03-12 17:29:37 +01:00
PBMLoader.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
PBMLoader.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
PGMLoader.cpp Everywhere: Remove a bunch of redundant 'AK::' namespace prefixes 2021-02-26 16:59:56 +01:00
PGMLoader.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
PNGLoader.cpp LibGfx: Use zlib instead of just deflate when loading PNGs 2021-03-28 20:40:44 +02:00
PNGLoader.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
PNGWriter.cpp LibGfx: adding a very simple PNG writer 2021-01-22 20:39:25 +01:00
PNGWriter.h LibGfx: adding a very simple PNG writer 2021-01-22 20:39:25 +01:00
Point.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Point.h Everywhere: Remove klog(), dbg() and purge all LogStream usage :^) 2021-03-12 17:29:37 +01:00
PortableImageLoaderCommon.h LibGfx: Rename 32-bit BitmapFormats to BGRA8888 and BGRx888x 2021-03-16 11:50:03 +01:00
PPMLoader.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
PPMLoader.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Rect.cpp LibGfx: Implement Rect resizing around a fixed point 2021-01-23 08:34:17 +01:00
Rect.h Everywhere: Remove klog(), dbg() and purge all LogStream usage :^) 2021-03-12 17:29:37 +01:00
ShareableBitmap.cpp LibGfx: Give Bitmap a scale factor 2021-01-20 10:28:27 +01:00
ShareableBitmap.h LibGfx: Give Bitmap a scale factor 2021-01-20 10:28:27 +01:00
Size.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Size.h Everywhere: Remove klog(), dbg() and purge all LogStream usage :^) 2021-03-12 17:29:37 +01:00
StandardCursor.h WindowServer+LibGfx: Enumerate Disallow cursor 2021-03-12 09:59:03 +01:00
Streamer.h Everywhere: Remove a bunch of redundant 'AK::' namespace prefixes 2021-02-26 16:59:56 +01:00
StylePainter.cpp LibGfx+LibGUI: Add support for vertical ProgressBars 2021-03-12 09:59:03 +01:00
StylePainter.h LibGfx+LibGUI: Add support for vertical ProgressBars 2021-03-12 09:59:03 +01:00
SystemTheme.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
SystemTheme.h Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
TextAlignment.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
TextAttributes.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
TextElision.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
Triangle.cpp Everywhere: Remove klog(), dbg() and purge all LogStream usage :^) 2021-03-12 17:29:37 +01:00
Triangle.h Everywhere: Remove klog(), dbg() and purge all LogStream usage :^) 2021-03-12 17:29:37 +01:00
Typeface.cpp Everywhere: Rename ASSERT => VERIFY 2021-02-23 20:56:54 +01:00
Typeface.h LibGUI+LibGfx+LibTTF: Make fontpicker handle TTF fonts 2021-02-15 08:50:48 +01:00
Vector3.h Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
WindowTheme.cpp Libraries: Move to Userland/Libraries/ 2021-01-12 12:17:46 +01:00
WindowTheme.h WindowServer+LibGfx: Show menus in windows! :^) 2021-03-25 22:14:09 +01:00