Image.exportPixels

Ditto, but takes an existing pixel buffer.

  1. T[] exportPixels(Geometry area, string map)
  2. void exportPixels(Geometry area, T[] pixels, string map)
    class Image
    const
    void
    exportPixels
    (
    T
    )
    (,
    T[] pixels
    ,
    string map = "RGBA"
    )

Throws

An ImageException if the buffer length is insufficient.

Meta