On Sat, 21 Sep 2024 21:44:53 +0200
Henning Hraban Ramm
Am 21.09.24 um 16:30 schrieb Alan Braslau:
I would first "fix" my image sources, individually, to contain missing resolution information.
The resolution setting is just metadata, it doesn’t affect pixel or file size. I need a function that works with “real” (pixel) sizes of images.
Exactly. The raw data is just pixels, and metadata sets what the expected pixel size might be. Of course, this metadata can be meaningless as the user can and often does rescale the image to meet the typesetting needs. The image manipulation tools use this metadata to resample resolution. I found this very useful as I used *hundreds* of scanned X-ray images that had real sizes, high resolution and 16 or even 24 bit depth. Of course, I had to reduce all of this in order to include them in a digestible and printable pdf. Alan