TMI-150: Fix for 24 bit images with bitmask.

This commit is contained in:
Harald Kuhr
2015-07-11 13:07:20 +02:00
parent eef4c72daa
commit d1cb941f06
7 changed files with 117 additions and 53 deletions
@@ -39,7 +39,9 @@ public class ICOImageReaderTest extends ImageReaderAbstractTest<ICOImageReader>
new Dimension(16, 16), new Dimension(16, 16), new Dimension(32, 32), new Dimension(32, 32),
new Dimension(48, 48), new Dimension(48, 48), new Dimension(256, 256), new Dimension(256, 256),
new Dimension(16, 16), new Dimension(32, 32), new Dimension(48, 48), new Dimension(256, 256)
)
),
// Problematic icon that reports 24 bit in the descriptor, but has separate 1 bit ''mask (height 2 x icon height)!
new TestData(getClassLoaderResource("/ico/rgb24bitmask.ico"), new Dimension(32, 32))
);
}
Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB