Image returned from the read functions. Data is in buf8 or buf16. Top-left corner will be at (0, 0).
Frees the image data.
bits per channel, 8 or 16
channels in buf, 1 = y, 2 = ya, 3 = rgb, 4 = rgba
channels found in file
error code or zero
height
width
See Implementation
Image returned from the read functions. Data is in buf8 or buf16. Top-left corner will be at (0, 0).