How do i get the resolution (dpi) of an image?
Posted on 2003-11-11
I am using JAI for imagemanipulation.
I only want to get the (information of the) resolution of scanned pictures in TIFF and JPEG format with using java 1.3.1_02 and JavaAdvancedImaging1.1.2.
Example: me.tif = DIN A6 and scanned with 200x200dpi = shown in doublesize in java...
or me.jpg = original 21x21 cm scanned with 300x300 dpi = displayed in 63x63cm in java...
I don't know the dpi of the pics so i cannot display it in original size on my monitor...
Please help me,
thanks a lot flo