[][src]Module imagecli::image_ops

Defines the ImageOp trait, and all operations supported by this library.

Structs

Alias

An alias is a shorthand for an operation, handled during parsing. For example, SWAP for ROT 2 and hcat for grid 2 1.

Documentation

Documentation for an image operation.

Enums

ColorSpace

The color spaces supported by this library.

Traits

ImageOp

An image processing operation that operates on a stack of images.

Functions

color_space

Returns the ColorSpace of an image.

convert_to_color_space

Consumes an image, and converts it to the desired color space. If the image is already in the correct format then it is just returned.

documentation

Returns documentation for all image ops in this file.

parse

Parse a pipeline, returning a moderately useful error if parsing fails.