Type Definition imgref::ImgVec [] [src]

type ImgVec<Pixel> = Img<Vec<Pixel>>;

Image owning its pixels.

A 2D array of pixels. The pixels are oriented top-left first and rows are stride pixels wide.

If size of the buf is larger than width*height, then any excess space is a padding (see width_padded()/height_padded()).

Methods

impl<T> ImgVec<T>
[src]

Create a mutable view into a region within the image. See sub_image() for read-only views.

If you need a mutable reference, see sub_image_mut()