1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 13:38:11 +00:00
serenity/Userland/Libraries/LibGfx/ImageFormats
Lucas CHOLLET b9574c180e LibGfx/PortableFormat: Use finite loops in read_image_data
The `read_image_data` function of each one of[PBM, PGM, PPM]Loader use
the same structure to read an image. This patch harmonizes the three
functions and use finite loops instead of reading until EOF. It allows
to quit early on bloated file, but it's mainly done for refactoring
purpose.
2023-03-24 10:56:58 +01:00
..
BMPLoader.cpp
BMPLoader.h
BMPWriter.cpp
BMPWriter.h
DDSLoader.cpp
DDSLoader.h
GIFLoader.cpp
GIFLoader.h
ICOLoader.cpp
ICOLoader.h
ImageDecoder.cpp
ImageDecoder.h
JPEGLoader.cpp
JPEGLoader.h
PBMLoader.cpp LibGfx/PortableFormat: Use finite loops in read_image_data 2023-03-24 10:56:58 +01:00
PBMLoader.h
PGMLoader.cpp LibGfx/PortableFormat: Use finite loops in read_image_data 2023-03-24 10:56:58 +01:00
PGMLoader.h
PNGLoader.cpp
PNGLoader.h
PNGShared.h
PNGWriter.cpp
PNGWriter.h
PortableFormatWriter.cpp
PortableFormatWriter.h
PortableImageLoaderCommon.h LibGfx: Remove unused functions load_from_memory and load_impl 2023-03-24 10:56:58 +01:00
PortableImageMapLoader.h LibGfx: Return true from PortableImageDecoderPlugin::initialize() 2023-03-24 10:56:58 +01:00
PPMLoader.cpp LibGfx/PortableFormat: Use finite loops in read_image_data 2023-03-24 10:56:58 +01:00
PPMLoader.h
QOILoader.cpp
QOILoader.h
QOIWriter.cpp
QOIWriter.h
TGALoader.cpp
TGALoader.h
WebPLoader.cpp
WebPLoader.h