mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 09:48:11 +00:00
LibGfx: Initial support for ICO image files.
This adds support for loading the first image from ICO format images only if they are PNG encoded. This is useful for loading favicons, which are sometimes PNGs with an ICO extension and sometimes actual ICO files. In particular we can now load the favicon from new.ycombinator.com
This commit is contained in:
parent
ce574d62f6
commit
140581d0c3
6 changed files with 354 additions and 1 deletions
|
@ -33,6 +33,7 @@
|
|||
#include <LibGfx/GIFLoader.h>
|
||||
#include <LibGfx/PBMLoader.h>
|
||||
#include <LibGfx/PNGLoader.h>
|
||||
#include <LibGfx/ICOLoader.h>
|
||||
#include <LibGfx/ShareableBitmap.h>
|
||||
#include <fcntl.h>
|
||||
#include <stdio.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue