eu.joaocosta.minart.graphics.image.bmp.BmpImageReader
Image reader for BMP files.
Supports uncompressed 24/32bit Windows BMPs.
Attributes
- Graph
- Supertypes
class Object
trait Matchable
class Any
- Known subtypes
Members list
Concise view
Value members
Loads an image from an InputStream.
Loads an image from an InputStream.
Attributes
- is
InputStream with the image data
- Returns:
Either a RamSurface with the image data or an error string
Loads an image from a byte array.
Loads an image from a byte array.
Attributes
- data
Byte array
- Returns:
Either a RamSurface with the image data or an error string
- Inherited from:
- ImageReader
Loads an image from a Resource.
Loads an image from a Resource.
Attributes
- resource
Resource with the image data
- Returns:
Either a RamSurface with the image data or an error string, inside a Try capturing the IO exceptions
- Inherited from:
- ImageReader