chickadee » macaw » make-rgb-array

make-rgb-array width height #!optional pitchprocedure

Allocates and returns a new rgb-array with the given width and height.

pitch is the number of bytes per row, including any padding at the end. If pitch is omitted, a pitch is automatically chosen that is at least (* width 16). Use rgb-array-pitch to get the pitch that was chosen.