getImage

fun getImage(inputStream: InputStream, imageType: String = "png"): BufferedImage

Returns BufferedImage extracted from inputStream with imageType.