@Override
    public final BufferedImage getBufferedImage(final ByteSource byteSource, final IcnsImagingParameters params) throws ImagingException, IOException {
        final IcnsContents icnsContents = readImage(byteSource);
        final List<BufferedImage> result = IcnsDecoder.decodeAllImages(icnsContents.icnsElements);
        if (!result.isEmpty()) {
            return result.get(0);
        }
        throw new ImagingException("No icons in ICNS file");
    }
Constructs a new instance with the big-endian byte order.
src/main/java/org/apache/commons/imaging/formats/icns/IcnsImageParser.java