mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 06:37:43 +00:00
LibGfx: Integrate JPEG decoder with rest of the system
This patch adds functions like `load_jpeg` to JPGLoader to make the JPEG decoder conform to the API that bitmap loader uses :^)
This commit is contained in:
parent
8b71b839fa
commit
a8b00780a8
5 changed files with 55 additions and 30 deletions
|
@ -39,7 +39,9 @@
|
|||
__ENUMERATE_IMAGE_FORMAT(ppm, ".ppm") \
|
||||
__ENUMERATE_IMAGE_FORMAT(gif, ".gif") \
|
||||
__ENUMERATE_IMAGE_FORMAT(bmp, ".bmp") \
|
||||
__ENUMERATE_IMAGE_FORMAT(ico, ".ico")
|
||||
__ENUMERATE_IMAGE_FORMAT(ico, ".ico") \
|
||||
__ENUMERATE_IMAGE_FORMAT(jpg, ".jpg") \
|
||||
__ENUMERATE_IMAGE_FORMAT(jpg, ".jpeg")
|
||||
|
||||
namespace Gfx {
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue