ImageEn for Delphi and C++ Builder ImageEn for Delphi and C++ Builder

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
Forum membership is Free!  Click Join to sign-up
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 Dpi
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

kostos

12 Posts

Posted - Jul 21 2014 :  06:04:21  Show Profile  Reply
Hi! Could you help me? How can I know exactly dpi of image?
For example:

resolution := ImageEn1.IO.Params.Dpi;// 300dpi of Image

if I change resolution from 300dpi to 10 pixels per centimeters (25.4dpi), I'll receive result of this code 25dpi only, because ImageEn1.IO.Params.Dpi is integer.

w2m

USA
1990 Posts

Posted - Jul 21 2014 :  07:31:54  Show Profile  Reply
Since DPI and DPIX and DPIY are all integer types I do not think it is possible to set or get DPI as 25.4.

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
Go to Top of Page

kostos

12 Posts

Posted - Jul 21 2014 :  22:37:10  Show Profile  Reply
if just read from a head of the file about this information, I think.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: