Number of StorageType per scanline (row).
Returns an array for the pixels at row y.
Does not scale image
Returns the visible part of pixels (i.e. covered by wxh). The pixels array may actually be larger.
Implements the view[x, y] operator.
Implements the view[x, y] = c operator.
An in-memory image. Pixels are stored as contiguous scanlines, with each scanline consisting of one or more StorageType.