TMI-115: Now downsamples and replaces 16 bit DQTs with 8 bit variants.

This commit is contained in:
Harald Kuhr
2015-03-23 10:28:58 +01:00
parent de9960f388
commit d2d7569a7f
3 changed files with 58 additions and 1 deletions
@@ -91,7 +91,8 @@ public class JPEGImageReaderTest extends ImageReaderAbstractTestCase<JPEGImageRe
new TestData(getClassLoaderResource("/jpeg/jfif-jfxx-thumbnail-olympus-d320l.jpg"), new Dimension(640, 480)),
new TestData(getClassLoaderResource("/jpeg/jfif-padded-segments.jpg"), new Dimension(20, 45)),
new TestData(getClassLoaderResource("/jpeg/0x00-to-0xFF-between-segments.jpg"), new Dimension(16, 16)),
new TestData(getClassLoaderResource("/jpeg/jfif-bogus-empty-jfif-segment.jpg"), new Dimension(942, 714))
new TestData(getClassLoaderResource("/jpeg/jfif-bogus-empty-jfif-segment.jpg"), new Dimension(942, 714)),
new TestData(getClassLoaderResource("/jpeg/jfif-16bit-dqt.jpg"), new Dimension(204, 131))
);
// More test data in specific tests below
Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB