eu.joaocosta.minart.graphics.image.ppm
Loads an image from a byte array.
Loads an image from a byte array.
Byte array
Either a RamSurface with the image data or an error string
Loads an image from an InputStream.
Loads an image from an InputStream.
InputStream with the image data
Either a RamSurface with the image data or an error string
Loads an image from a Resource.
Loads an image from a Resource.
Resource with the image data
Either a RamSurface with the image data or an error string, inside a Try capturing the IO exceptions
Image reader for PGM/PPM files.
Supports P2, P3, P5 and P6 PGM/PPM files with a 8 bit color range.