this post was submitted on 27 Sep 2024
7 points (100.0% liked)

Paperless office; document/image processing

39 readers
1 users here now

Everything related to maintaining a paperless office running on free software.

Discussions include image processing tools like GIMP, ImageMagick, unpaper, pdf2djvu, etc.

founded 9 months ago
MODERATORS
 

Running this gives the geometry but not the density:

$ identify -verbose myfile.pgm | grep -iE 'geometry|pixel|dens|size|dimen|inch|unit'

There is also a “Pixels per second” attribute which means nothing to me. No density and not even a canvas/page dimension (which would make it possible to compute the density). The “Units” attribute on my source images are “undefined”.

Suggestions?

you are viewing a single comment's thread
view the rest of the comments
[–] Zachariah@lemmy.world 2 points 1 month ago* (last edited 1 month ago)

Yeah, I’d guess it’s the number of pixels (or number of bytes) triggering the bug, but it’s being communicated to the user as dpi.

dpi is (usually) really a function of the graphics program, and images can be scaled/shown/printed at different (with limitations) dpi regardless of pixel dimensions. Usually, dpi dictates the native size of the image in the real world (on the monitor or on paper), or can affect the clarity of the image if the resolution of the image doesn’t match the resolution of the display. It’s not exactly the size of the image—but it’s often closely related.