PImage.fromPixels constructor
PImage.fromPixels(
- int width,
- int height,
- ByteData pixels,
- ImageFileFormat format,
Implementation
PImage.fromPixels(int width, int height, ByteData pixels, ImageFileFormat format)
: _width = width,
_height = height,
_format = format,
_pixels = pixels;