toBufferedImage

fun toBufferedImage(inputStream: InputStream): BufferedImage

Returns BufferedImage extracted from inputStream.

Parameters

inputStream

source of the image

fun toBufferedImage(file: File): BufferedImage

Returns BufferedImage extracted from file.

Parameters

file

source of the image