mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-11 10:18:15 +09: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
Notes:
sideshowbarker
2024-07-19 05:26:23 +09:00
Author: https://github.com/devsh0
Commit: a8b00780a8
Pull-request: https://github.com/SerenityOS/serenity/pull/2302
Reviewed-by: https://github.com/Dexesttp
Reviewed-by: https://github.com/LepkoQQ
5 changed files with 55 additions and 30 deletions
|
@ -66,7 +66,6 @@ ImageDecoder::ImageDecoder(const u8* data, size_t size)
|
|||
return;
|
||||
|
||||
m_plugin = nullptr;
|
||||
return;
|
||||
}
|
||||
|
||||
ImageDecoder::~ImageDecoder()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue