mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-10-04 11:26:44 -04:00
Added methods for getting normalized list of formats supported by ImageIO + minor clean-up.
This commit is contained in:
@@ -463,7 +463,7 @@ public final class ICNSImageReader extends ImageReaderBase {
|
||||
// Return blank icon + issue warning. We know the image dimensions, we just can't read the data.
|
||||
processWarningOccurred(String.format(
|
||||
"Cannot read %s format in type '%s' icon (no reader; installed: %s)",
|
||||
format, ICNSUtil.intToStr(resource.type), Arrays.toString(ImageIO.getReaderFormatNames())
|
||||
format, ICNSUtil.intToStr(resource.type), Arrays.toString(IIOUtil.getNormalizedReaderFormatNames())
|
||||
));
|
||||
|
||||
Dimension size = resource.size();
|
||||
|
Reference in New Issue
Block a user