Hi, I have a question about .JPG file: I would like to know how to read the size (width and height) in mm (or in cm) of the jpg files taking into account their resolution in DPI Thank You
Width in inches of an image: Trunc( ImageEnView1.IO.Params.Width / ImageEnView1.IO.Params.DPIX ); Height in inches of an image: Trunc( ImageEnView1.IO.Params.Height / ImageEnView1.IO.Params.DPIY );
If you are from a country other than the three that don't use the metric system, you should multiply that by 25.4 to get the result in mm.