More tests of StandardImageMetadataSupport + minor API changes

This commit is contained in:
Harald Kuhr
2022-10-08 14:28:10 +02:00
parent 6458fcdcbd
commit 7ed5663633
10 changed files with 185 additions and 14 deletions
@@ -52,7 +52,7 @@ final class IFFImageMetadata extends StandardImageMetadataSupport {
private IFFImageMetadata(Builder builder, Form header, IndexColorModel palette) {
super(builder.withPalette(palette)
.withCompressionName(compressionName(header))
.withCompressionTypeName(compressionName(header))
.withBitsPerSample(bitsPerSample(header))
.withPlanarConfiguration(planarConfiguration(header))
.withPixelAspectRatio(header.aspect() != 0 ? header.aspect() : null)