1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:07:35 +00:00

LibGfx/JPEG: Make ycck jpegs with just cc subsampled decode correctly

We currently assume that the K (black) channel uses the same sampling
as the Y channel already, so this already works as long as we don't
error out on it.
This commit is contained in:
Nico Weber 2023-12-28 20:58:35 -05:00 committed by Tim Flynn
parent 4236798244
commit a2bd19fdac
2 changed files with 7 additions and 2 deletions

View file

@ -232,7 +232,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-2112.jpg"sv), // FIXME: Enable once this decodes correctly
TEST_INPUT("jpg/ycck-2112.jpg"sv),
};
for (auto test_input : test_inputs) {