Skip to content

Latest commit

 

History

History
14 lines (12 loc) · 371 Bytes

image_buffer.md

File metadata and controls

14 lines (12 loc) · 371 Bytes

ImageBuffer (//context/image/image_buffer)

Write pixels to an image buffer

Include using

[[process]]
source = "context://file/image_buffer"

Inputs

  • pixel - the (x, y) of the pixel
  • value - the (r, g, b) triplet to write to the pixel
  • size - the (width, height) of the image buffer
  • filename - the file name to persist the buffer to