mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:17:46 +00:00
LibGfx: Rename JPGLoader
to JPEGLoader
The patch also contains modifications on several classes, functions or files that are related to the `JPGLoader`. Renaming include: - JPGLoader{.h, .cpp} - JPGImageDecoderPlugin - JPGLoadingContext - JPG_DEBUG - decode_jpg - FuzzJPGLoader.cpp - Few string literals or texts
This commit is contained in:
parent
ab298ca106
commit
856d0202f2
14 changed files with 118 additions and 118 deletions
|
@ -6,7 +6,7 @@
|
|||
|
||||
#include <LibCore/MappedFile.h>
|
||||
#include <LibGfx/ICC/Profile.h>
|
||||
#include <LibGfx/JPGLoader.h>
|
||||
#include <LibGfx/JPEGLoader.h>
|
||||
#include <LibGfx/PNGLoader.h>
|
||||
#include <LibTest/TestCase.h>
|
||||
|
||||
|
@ -31,7 +31,7 @@ TEST_CASE(png)
|
|||
TEST_CASE(jpg)
|
||||
{
|
||||
auto file = MUST(Core::MappedFile::map(TEST_INPUT("icc-v4.jpg"sv)));
|
||||
auto jpg = MUST(Gfx::JPGImageDecoderPlugin::create(file->bytes()));
|
||||
auto jpg = MUST(Gfx::JPEGImageDecoderPlugin::create(file->bytes()));
|
||||
EXPECT(jpg->initialize());
|
||||
auto icc_bytes = MUST(jpg->icc_data());
|
||||
EXPECT(icc_bytes.has_value());
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue