Sounds simple right? Use
ImageIO.read(new ByteArrayInputStream(bytes));
Here\'s the wrinkle. For some reason it is detecting a jpeg as a b
Is the BMP reader the only one returned by getImageReaders()? Maybe you get more than one and can make a choice based on that.
getImageReaders()