Image.exportPixels

Ditto, but takes an existing pixel buffer.

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

Throws

An ImageException if the buffer length is insufficient.

Meta