read Image DPI
Reads DPI metadata from an image file.
Return
The DPI value, or 300 as default if not found.
Parameters
image File
The image file to read DPI from.
log Signature
Signature prefix shown in logs to identify the caller context.
Reads DPI metadata from image bytes.
Return
The DPI value, or 300 as default if not found.
Parameters
image Bytes
The image bytes to read DPI from.
log Signature
Signature prefix shown in logs to identify the caller context.