|Think about Loose Coupling|
PerlMagick: How to Calculate an image size in milimiters?by monsieur_champs (Curate)
|on Jun 03, 2003 at 21:18 UTC||Need Help??|
monsieur_champs has asked for the wisdom of the Perl Monks concerning the following question:
I'm building a system to crop, resample and scale TIFF images from a Fax server, so it fit into a set of A4 (210x297mm) pages.
However I'm facing a strange problem: I don't know for sure how to calculate the size of a Image in millimeters. My calculations simply don't correspond to what I'm expecting, except when the resolution is 72dpi.
To calculate the image size, I'm using this:
Can anybody help me with this task?
May the gods bless you.
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Luis Campos de Carvalho Just Another Perl Monk =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=