mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 06:28:13 +00:00
LibGfx/JPEG: Allow decoding more subsampling factors
We now allow all subsampling factors where the subsampling factors of follow-on components evenly decode the ones of the first component. In practice, this allows YCCK 2111, CMYK 2112, and CMYK 2111.
This commit is contained in:
parent
d99d086da3
commit
3616d14c80
2 changed files with 4 additions and 8 deletions
|
@ -325,7 +325,7 @@ TEST_CASE(test_jpeg_ycck)
|
|||
{
|
||||
Array test_inputs = {
|
||||
TEST_INPUT("jpg/ycck-1111.jpg"sv),
|
||||
// TEST_INPUT("jpg/ycck-2111.jpg"sv), // FIXME: Enable once this decodes correctly
|
||||
TEST_INPUT("jpg/ycck-2111.jpg"sv),
|
||||
TEST_INPUT("jpg/ycck-2112.jpg"sv),
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue