WMF Image Size Requested may result in a different size

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
TestAlways
Newbie
Newbie
Posts: 12
Joined: Mon Mar 09, 2015 12:00 am

WMF Image Size Requested may result in a different size

Post by TestAlways » Sat Oct 17, 2015 6:07 pm

Really strange problem here: When I set the Windows 7 display settings to 150% for larger text (both 100% and 125% work) TChart *may* return the wrong size image.

See the attached example, the WMF image below the chart should be a duplicate of the one above, just a different size. The caption shows what size the requested image was and what size was returned. Initially, the WMF image will return the wrong size (much large, with lots of margin on the right & bottom).

Change this to a BMP and not only is the correct size image return, returning to WMF results in the correct size image.

Any ideas on how to correct this?

Thank you,

Ed Dressel
Attachments
compare3.zip
(3.88 KiB) Downloaded 728 times

TestAlways
Newbie
Newbie
Posts: 12
Joined: Mon Mar 09, 2015 12:00 am

Re: WMF Image Size Requested may result in a different size

Post by TestAlways » Mon Oct 19, 2015 3:49 pm

I reproduced this problem in a fairly simple demo (attached) and posted it to the EMB forums as well. I have some frustrated customers about this and really need a fix soon.

Ed Dressel
Attachments
WMF Canvas Size.zip
(1.49 KiB) Downloaded 719 times

Yeray
Site Admin
Site Admin
Posts: 9533
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: WMF Image Size Requested may result in a different size

Post by Yeray » Tue Oct 20, 2015 7:57 am

Hello,

I reproduced the problem with both applications in Windows 10. Note I reproduced the problem with both 125% and 150% Zoom:
125%_Win10.png
125%_Win10.png (20.31 KiB) Viewed 9425 times
150%_Win10.png
150%_Win10.png (23.66 KiB) Viewed 9418 times
TestAlways wrote:posted it to the EMB forums as well
I'll be glad to follow the issue there if you can share the link with us.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy


Post Reply