Home
Features
Demos
Store
Forum
Support
ImageEn Forum
Profile
Join
Active Topics
Forum FAQ
Search
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
Object real size
New Topic
Reply to Topic
Author
Topic
c.basso
Italy
36 Posts
Posted - Apr 02 2015 : 10:00:50
I have an image,
I've set the scale using SetScaleFromPixels.
MUnit is set to Millimeters.
So I know that 63pixel are equal to 10mm in my image.
The ScaleFactor is approx 1,87...
Now I need to create programmatically an object that is 10mm length.
I dont' understand how to use ScaleFactor value,
If I do:
10 / ScaleFactor = 5,34... ???
Thanks
Claudio
Claudio
c.basso
Italy
36 Posts
Posted - Apr 02 2015 : 13:35:45
Solved!
If you are using MUnit as Millimeters:
To get pixel value:
(ImageEn.DpiX / ScaleFactor * MM_VALUE) / 25,4
(/ 25,4 is to get Inch from mm)
Claudio
Topic
New Topic
Reply to Topic
Jump To:
Select Forum
ImageEn Library for Delphi, C++ and .Net
ImageEn and IEvolution Support Forum
--------------------
Home
Active Topics
Frequently Asked Questions
Member Information
Search Page