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
 MS Fax Image Issue
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

jeffp

USA
42 Posts

Posted - Jun 26 2017 :  10:56:46  Show Profile  Reply
A customer has sent me the attached TIF image produced by Microsoft Fax. I am loading the image using

TIEMultiBitmap.Read

The issue here is that horizontal resolution is 204 dpi and vertical resolution is 98 dpi.

Some image viewers like Irfran and Window Photo will make adjustments to the image WxH based on the different Horizontal and Vertical resolutions.

For example, Windows properties shows the attached image to be 1728x1074 with 204x98 dpi

When opening it in Irfan, it adjusts it to 1728x2148 with 204x198 dpi. This actually displays the image the way it should look.

Without this adjustment, the image is distorted horizontally. That is, it is much wider that it should be.

Is there anyway ImageEn can make this adjustment when loading the file when the resolutions don't match?

Thanks.

attach/jeffp/201762610508_health net translation service.zip
107.66 KB

jp

xequte

38616 Posts

Posted - Jun 26 2017 :  20:15:14  Show Profile  Reply
Hi Jeff

Does AutoAdjustDPI fix it?

https://www.imageen.com/help/TImageEnMIO.AutoAdjustDPI.html

Nigel
Xequte Software
www.xequte.com
nigel@xequte.com
Go to Top of Page

jeffp

USA
42 Posts

Posted - Jun 27 2017 :  10:13:27  Show Profile  Reply
Thanks. That seems to work.

jp
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
Jump To: