The OpenD Programming Language

Image.scanlineInBytes

Length of the managed scanline pixels, in bytes.

This is NOT the pointer offset between two scanlines (pitchInBytes). This is just width() * size-of-one-pixel. Those bytes are "part of the image", while the trailing and border pixels are not.

struct Image
nothrow @nogc @safe pure const
int
scanlineInBytes
()

See Also

pitchInBytes. Tags: #valid #data

Meta