Image

eu.joaocosta.minart.graphics.image.Image$
object Image

Object containing user-friendly functions to images.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Image.type

Members list

Concise view

Value members

Concrete methods

def loadBmpImage(resource: Resource): Try[RamSurface]

Loads an image in the BMP format.

Loads an image in the BMP format.

Attributes

def loadImage(loader: ImageReader, resource: Resource): Try[RamSurface]

Loads an image using a custom ImageReader.

Loads an image using a custom ImageReader.

Attributes

loader

ImageReader to use

resource

Resource pointing to the image

def loadPpmImage(resource: Resource): Try[RamSurface]

Loads an image in the PPM format.

Loads an image in the PPM format.

Attributes

def loadQoiImage(resource: Resource): Try[RamSurface]

Loads an image in the QOI format.

Loads an image in the QOI format.

Attributes

def storeBmpImage(surface: Surface, resource: Resource): Try[Unit]

Stores an image in the BMP format.

Stores an image in the BMP format.

Attributes

def storeImage(writer: ImageWriter, surface: Surface, resource: Resource): Try[Unit]

Stores an image using a custom ImageWriter.

Stores an image using a custom ImageWriter.

Attributes

resource

Resource pointing to the output destination

surface

Surface to store

writer

ImageWriter to use

def storePpmImage(surface: Surface, resource: Resource): Try[Unit]

Stores an image in the PPM format.

Stores an image in the PPM format.

Attributes

def storeQoiImage(surface: Surface, resource: Resource): Try[Unit]

Stores an image in the QOI format.

Stores an image in the QOI format.

Attributes