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

 

ImageEn Forum
Profile    Join    Active Topics    Forum FAQ    Search this forumSearch
 All Forums
 ImageEn Library for Delphi, C++ and .Net
 ImageEn and IEvolution Support Forum
 JPG Files

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

View 
UserName:
Password:
Format  Bold Italicized Underline  Align Left Centered Align Right  Horizontal Rule  Insert Hyperlink   Browse for an image to attach to your post Browse for a zip to attach to your post Insert Code  Insert Quote Insert List
   
Message 

 

Emoji
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Black Eye [B)]
Frown [:(] Shocked [:0] Angry [:(!] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
fabiotesla Posted - Sep 18 2015 : 08:00:57
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
4   L A T E S T    R E P L I E S    (Newest First)
fabiotesla Posted - Sep 21 2015 : 03:31:34
Perfect!
Thank you.
xequte Posted - Sep 19 2015 : 20:41:49
Yes, sorry, it is 25.4. I've updated the text.

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
w2m Posted - Sep 19 2015 : 07:13:50
25.4 not 25.2

Bill Miller
Adirondack Software & Graphics
Email: w2m@hughes.net
EBook: http://www.imageen.com/ebook/
Custom Commercial ImageEn Development
xequte Posted - Sep 19 2015 : 05:19:11
Hi

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.


Nigel
Xequte Software
www.xequte.com
nigel@xequte.com