mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-05 04:25:29 -04:00
#395 Removed WebP lossless and extended format (until it's implemented).
This commit is contained in:
parent
8bf9f7a8f0
commit
3f7cb24407
@ -74,8 +74,9 @@ public final class WebPImageReaderSpi extends ImageReaderSpiBase {
|
||||
int chunk = stream.readInt();
|
||||
|
||||
switch (chunk) {
|
||||
case WebP.CHUNK_VP8L:
|
||||
case WebP.CHUNK_VP8X:
|
||||
// TODO. Support lossless
|
||||
// case WebP.CHUNK_VP8L:
|
||||
// case WebP.CHUNK_VP8X:
|
||||
case WebP.CHUNK_VP8_:
|
||||
return true;
|
||||
default:
|
||||
|
@ -29,13 +29,14 @@ public class WebPImageReaderTest extends ImageReaderAbstractTest<WebPImageReader
|
||||
new TestData(getClassLoaderResource("/webp/small_13x1.webp"), new Dimension(13, 1)),
|
||||
new TestData(getClassLoaderResource("/webp/small_31x13.webp"), new Dimension(31, 13)),
|
||||
new TestData(getClassLoaderResource("/webp/test.webp"), new Dimension(128, 128)),
|
||||
new TestData(getClassLoaderResource("/webp/very_short.webp"), new Dimension(63, 66)),
|
||||
// Lossless
|
||||
new TestData(getClassLoaderResource("/webp/1_webp_ll.webp"), new Dimension(400, 301)),
|
||||
// Extended format: Alpha + VP8
|
||||
new TestData(getClassLoaderResource("/webp/1_webp_a.webp"), new Dimension(400, 301)),
|
||||
// Extendad format: Anim
|
||||
new TestData(getClassLoaderResource("/webp/animated-webp-supported.webp"), new Dimension(400, 400))
|
||||
new TestData(getClassLoaderResource("/webp/very_short.webp"), new Dimension(63, 66))
|
||||
// TODO: Support lossless
|
||||
// // Lossless
|
||||
// new TestData(getClassLoaderResource("/webp/1_webp_ll.webp"), new Dimension(400, 301)),
|
||||
// // Extended format: Alpha + VP8
|
||||
// new TestData(getClassLoaderResource("/webp/1_webp_a.webp"), new Dimension(400, 301)),
|
||||
// // Extendad format: Anim
|
||||
// new TestData(getClassLoaderResource("/webp/animated-webp-supported.webp"), new Dimension(400, 400))
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user