← back to roto on ba3a.dev

Package-level declarations

Types

Link copied to clipboard
object Argb

Packing and unpacking of a pixel colour stored as one Int in 0xAARRGGBB order, 8 bits per channel, sRGB, straight (non-premultiplied) alpha. This is the layout of java.awt.image.BufferedImage.TYPE_INT_ARGB, so a Raster moves to and from AWT without conversion.

Link copied to clipboard

A rectangular grid of palette indices 0..255, row-major from the top-left corner.

Link copied to clipboard
class Mask

A rectangular grid of foreground (true) and background (false) pixels, row-major from the top-left corner: which pixels of a frame belong to the figure.

Link copied to clipboard

Integer nearest-neighbour enlargement of a Raster: every output pixel is one the input holds.

Link copied to clipboard
object PngCodec

Reads and writes Rasters as PNG through javax.imageio.

Link copied to clipboard
class Raster

A rectangular grid of Argb pixels, row-major from the top-left corner.