image->data
Returns image bytes.
Target
Signature
1image->data()Returns image bytes.
image->data is called with member syntax on a receiver value. image->data works with structured document or media data. Keep parsing, transformation, and output steps separate enough that each step can be checked on its own.
Examples
Basic call
1image('/tmp/photo.jpg')->dataThe example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.