image->width
Returns image width.
Target
Signature
1image->width()Returns image width.
image->width is called with member syntax on a receiver value. image->width 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')->widthThe example shows the normal call shape. Adapt variable names, validation, and surrounding error handling to the context.