ppImage DPI
Hi,
I am using Report Builder 11.07 with D2010 and am wondering if there is
anyway that I can get the DPI of a JPEG image that is loaded into a ppImage?
Thanks,
Luke.
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4869 (20100215) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
I am using Report Builder 11.07 with D2010 and am wondering if there is
anyway that I can get the DPI of a JPEG image that is loaded into a ppImage?
Thanks,
Luke.
__________ Information from ESET NOD32 Antivirus, version of virus signature database 4869 (20100215) __________
The message was checked by ESET NOD32 Antivirus.
http://www.eset.com
This discussion has been closed.
Comments
When you load a JPEG into the TppImage component, you are basically creating
a TJPEGImage object and assigning it to the ppImage.Picture.Graphic
property. You can then access this property to determine any information
about the image.
TJPEGImage(ppImage1.Picture.Graphic)
I found this sample code on-line on how to find the DPI of a JPEG image.
http://www.swissdelphicenter.ch/en/showcode.php?id=1957
--
Regards,
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com