#841: Filter out incompatible ICC profiles

This commit is contained in:
Harald Kuhr
2023-10-19 11:10:47 +02:00
parent 2c7c47b158
commit 2e0e575183
3 changed files with 20 additions and 4 deletions
@@ -60,7 +60,9 @@ public class WebPImageReaderTest extends ImageReaderAbstractTest<WebPImageReader
new Dimension(394, 383), new Dimension(394, 394), new Dimension(372, 394),
new Dimension(400, 400), new Dimension(320, 382)),
// Alpha transparency and Alpha filtering
new TestData(getClassLoaderResource("/webp/alpha_filter.webp"), new Dimension(1600, 1600))
new TestData(getClassLoaderResource("/webp/alpha_filter.webp"), new Dimension(1600, 1600)),
// Lossy with grayscale ICC profile
new TestData(getClassLoaderResource("/webp/incompatible-icc-gray.webp"), new Dimension(766, 1100))
);
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 181 KiB