mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-04 20:15:28 -04:00
Minor code clean-up.
This commit is contained in:
parent
a5ee53569d
commit
80229b8c3c
@ -188,7 +188,7 @@ public final class ColorSpaces {
|
||||
// Will throw IllegalArgumentException or CMMException if the profile is bad
|
||||
cs.fromRGB(new float[] {0.999f, 0.5f, 0.001f});
|
||||
|
||||
// This breaks *some times* after validation of bad profiles,
|
||||
// This breaks *sometimes* after validation of bad profiles,
|
||||
// we'll let it blow up early in this case
|
||||
cs.getProfile().getData();
|
||||
}
|
||||
|
@ -5,7 +5,7 @@ import com.twelvemonkeys.imageio.StandardImageMetadataSupport;
|
||||
import javax.imageio.ImageTypeSpecifier;
|
||||
import javax.imageio.metadata.IIOMetadataNode;
|
||||
|
||||
public class HDRMetadata extends StandardImageMetadataSupport {
|
||||
final class HDRMetadata extends StandardImageMetadataSupport {
|
||||
public HDRMetadata(ImageTypeSpecifier type, HDRHeader header) {
|
||||
super(builder(type)
|
||||
.withCompressionTypeName("RLE")
|
||||
|
Loading…
x
Reference in New Issue
Block a user