Crate pati

Source
Expand description

This crate provides Image, a data structure for representing and editing raster images.

The data format of a image is a sequence of ImageCommands.

§See also

  • patica: Terminal based pixel art editor using this crate.

Structs§

Color
RGBA color.
Image
Raster image.
ImageCommandReader
ImageCommand reader.
ImageCommandWriter
ImageCommand writer.
PatchEntry
Patch entry.
PatchImageCommand
Patch command that is used to draw or erase pixels.
Point
A point in 2D space.
Version
Number of applied commands.
VersionedImage
Image with a log of applied ImageCommands.

Enums§

ImageCommand
Image command.