@Override public byte[] decompress(RandomAccessInputStream in, CodecOptions options) throws FormatException, IOException { byte[] buf = new byte[(int) in.length()]; in.read(buf); return decompress(buf, options); }
@Override public byte[] decompress(RandomAccessInputStream in, CodecOptions options) throws FormatException, IOException { byte[] buf = new byte[(int) in.length()]; in.read(buf); return decompress(buf, options); }
getRGBChannelCount() * bytesPerPixel; try { data = new JPEGXRCodec().decompress(data, options);
getRGBChannelCount() * bytesPerPixel; try { data = new JPEGXRCodec().decompress(data, options);