Le Philousophe
96d411445f
IMAGE: Gracefully handle JPEG decompression failures
...
This can happen when the JPEG file is corrupted but also when compiling
against libjpeg-turbo and running using original libjpeg shared object.
In this case a fallback is attempted on the supported everywhere JCS_RGB
format.
2025-11-01 12:46:51 +01:00
Cameron Cawley
7192271ac0
IMAGE: Simplify mapping pixel formats to JPEG colour spaces
2025-07-13 20:01:28 +03:00
Cameron Cawley
48854f0ace
GRAPHICS: Add helper functions for creating RGB24 and BGR24 formats
2025-06-19 14:17:51 +03:00
Matthew Jimenez
77ee5a9007
IMAGE: Get palette class by reference on image decoders
2025-04-12 15:47:17 +03:00
Cameron Cawley
f60a41b244
IMAGE: Fix calling JPEGDecoder::getPixelFormat() before loading the frame
2025-03-03 07:30:22 +02:00
elasota
64a95c3b43
IMAGE: Add codec accuracy options
2024-09-04 10:14:05 +03:00
Paweł Kołodziejski
de03b0de95
IMAGES: Added comments describing use case for CMYK color space format
2022-12-23 14:03:34 +01:00
Paweł Kołodziejski
90e62871c2
IMAGES: W/A to allow pass JPEG with 4 components as RGBA.
2022-12-23 14:03:34 +01:00
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+
2021-12-26 18:48:43 +01:00
Paul Gilbert
baccbedf50
GRAPHICS: Changed surface classes sizes from uint16 to int16
2021-07-04 18:24:27 -07:00
Paweł Kołodziejski
54c2b1aaec
IMAGE: Print source of callback messages. Change PNG warning into debug.
2021-02-13 12:31:16 +01:00
D G Turner
aee09409e8
IMAGE: Fix Missing Default Switch Cases
...
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-30 22:08:44 +00:00
SupSuper
2365b678b3
IMAGE: Fix MSVC warnings
...
Fixes warning C4067: unexpected tokens following preprocessor directive
due to non-standard "and" "or" operators
2019-05-09 18:13:10 +10:00
Bastien Bouclet
efcd8ab270
IMAGE: Fix build when not using libjpeg-turbo
2019-04-28 09:18:07 +02:00
Bastien Bouclet
8ffa737901
IMAGE: Remove decoding JPEG directly to RGB565
...
It's not supported by ancient versions of libjpeg-turbo, and there is no
way to detect if support is available without doing a compilation
test...
2019-04-28 07:59:14 +02:00
Bastien Bouclet
0d5d04ca3a
IMAGE: Allow setting the output pixel format to the JPEG decoder
2019-04-28 07:59:14 +02:00
Matthew Hoops
08ea14a8d0
IMAGE: Make Codec take a stream reference; change function name to decodeFrame
2014-02-28 00:27:37 -05:00
Matthew Hoops
c432b96cf6
IMAGE: Merge the JPEG codec into the ImageDecoder
2014-02-28 00:27:36 -05:00
Matthew Hoops
740b6e8fbd
IMAGE: Move all ImageDecoders to image/
2014-02-28 00:27:28 -05:00