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
 WMF image is blurred.
 New Topic  Reply to Topic
Author Previous Topic Topic Next Topic  

pcbarbassa

Brazil
3 Posts

Posted - May 17 2018 :  15:31:17  Show Profile  Reply
In version 4.0.1 when loading a .vmf image, it is clean and clear. After updating, the image is blurred, regardless of any filter applied or none.

Actual version is 7.5.0. Same problem in version 5.2.0 and 6.2.1.

Comparison is attached.




attach/pcbarbassa/2018517153016_carimbo_04_05_2018_17_01_36.zip
858.09 KB

xequte

39142 Posts

Posted - May 17 2018 :  19:29:51  Show Profile  Reply
Hi

This is a transparent WMF image, I'm not sure how well that was supported in v4.0.1. However I am not seeing what you are seeing. There looks to be an issue with the WMF loading in your screenshot. GDI+ is used for WMF importation, so perhaps there is an issue with that on your system.

This is what I get:







Nigel
Xequte Software
www.imageen.com

Go to Top of Page

pcbarbassa

Brazil
3 Posts

Posted - May 18 2018 :  08:12:46  Show Profile  Reply
Thanks for your response.

Opening the .vmf in any other viewer, the difference is visible. In other software viewer is clear and clean. Here, the font appears to be "bold" and out of focus. There can be no problem in my system since other topic here in the forum are also commenting the same. And we also tested in other environments. We have to find a solution. I ask you to test with version 4.0.1 to see the difference.

Other test, is show the .vmf using native "TImage" (delphi). It is also clear and clean:



Go to Top of Page

xequte

39142 Posts

Posted - May 20 2018 :  04:01:59  Show Profile  Reply
Hi

ImageEn does not support WMF natively. It uses GDI+ to import a raster view of the WMF file. If you want higher quality, call IO.ImportMetafile directly and specify an output size.

https://www.imageen.com/help/TImageEnIO.ImportMetafile.html

Compare Standard loading:




With:
ImageEnView1.IO.ImportMetafile( Edit1.Text, 2000, -1, False );

Note: ZoomFilter is rfLanczos3



Nigel
Xequte Software
www.imageen.com
Go to Top of Page

pcbarbassa

Brazil
3 Posts

Posted - May 21 2018 :  16:28:25  Show Profile  Reply
Great!
Tanks for your response. Problem solved.

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