Skip to content

Zero-DPI image causes division by zero error #1494

Open
@ColonelThirtyTwo

Description

@ColonelThirtyTwo

Image

This image reports a DPI of "zero inches" which is obviously invalid:

Resolution Unit                 : inches
X Resolution                    : 0
Y Resolution                    : 0

This causes a division by zero error when attempting to use it in a document.

Admittedly, while the info is bogus, it should be easy to catch and handle as an image lacking DPI info.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions