The image library - pf-lang/pipefish GitHub Wiki
Contains a bitmap, a clone of list in which the elements are the columns of the
bitmap, i.e. lists with elements of type Color.
The metadata for an Image.
Represents a fully opaque color in the CMYK color model, with 8 bit for each dimension.
Represents a shade of gray in 8-bit gray scale.
Represents a color in the RGBA color model, with 8 bits for each dimension.
Like Rgba, but every color is fully opaque.
Represents a color in the RGBA color model, with 16 bits for each dimension.
Like Rgba_64, but every color is fully opaque.
Representation of a fully opaque 24-bit Y'CbCr color, having 8 bits each for one luma and two chroma components.
The abstract type containing the various color types, Rgb, Rgba, Cmyk, etc.
Constructs a new image of the given dimensions and filled with the given color.
Returns the width of the image.
Returns the height of the image.
Overloads the standard with to perform validation.
Returns the color model of the image, i.e. a type in the abstract type Color.
Returns the metadata of the image as a string.
Returns a string consisting of "█" with control codes so that it'll display the given color.
This page is automatically generated from the Pipefish standard library. Any edits made directly to this wiki page will be overwritten the next time the documentation is regenerated.