Type Alias ImgRef
type ImgRef = Img<&'slice [Pixel]>
Reference to pixels inside another image.
Pass this structure by value (i.e. ImgRef, not &ImgRef).
Only width of pixels of every stride can be modified. The buf may be longer than height*stride, but the extra space should be ignored.