public static List<BufferedImage> getAllBufferedImages(final InputStream is, final String fileName) throws ImagingException, IOException {
        return getAllBufferedImages(ByteSource.inputStream(is, fileName));
    }
Gets all images specified by the InputStream (some formats may include multiple images within a single data source).

@param is       A valid InputStream
@param fileName File name associated with image data (optional).
@return A valid (potentially empty) list of BufferedImage objects.
@throws ImagingException In the event that the specified content does not conform to the format of the specific parser implementation.
@throws IOException      In the event of unsuccessful read or access operation.
src/main/java/org/apache/commons/imaging/Imaging.java