raw_spec: Create a specification for how raw bytes should be interpreted when passed
to write_png()
Description
Create a specification for how raw bytes should be interpreted when passed
to write_png()
Usage
raw_spec(width, height, depth, bits)
Value
named list to pass to the write_png(..., raw_spec = )
Arguments
- width, height
image dimensions
- depth
number of colour channels. Integer value in range [1, 4]
- bits
number of bits for each colour channel. Either 8 or 16.