Export of vector format EMF related to resolution???

TeeChart for Microsoft Visual Studio .NET, Xamarin Studio (Android, iOS & Forms) & Monodevelop.
Post Reply
Alex
Newbie
Newbie
Posts: 38
Joined: Tue Aug 31, 2004 4:00 am
Location: Austria/Europe

Export of vector format EMF related to resolution???

Post by Alex » Sat Mar 05, 2005 11:07 am

Hi all!

As far as I know the EMF type is a real vector format. Why the output quality of an EMF in TeeChart is depending on the pixel resolution?

E.g.: line series polygon, many points, the polygon is not longer polygon-point to polygon-point, the polygon is changed to pixel-line to pixel-line (based on the "EMF-resolution" in export options)???

I've posted the related pictures in the steema newsgroup, posting: "printing ax-v7 in .NET ...".
please find attached three files concerning my EMF-Question.

I plot 2 sections, each consisting of 3 arches.
The arches are a simple polygon in 2D, that means simple point-point
straight line.

- chart1.tif is plotted based on the pixel sizes.
- chart1.emf you can see the polygon points
- chart2.emf, same as chart1.emf, but without polygon points

My questions:
a) if you look on the emf-large radius arches (wide span arches): near x=0
the polygon is a little bit oscillating??? (distance between blue and red,
the distance should be constant). This behaviour I cannot see on the .tif.
b) if you look on the chart2.emf and the small span arches. Though this is
an .emf there is no straight connection between the polygonal points. Though
this is a vector format the lines follow a kind of grid???
c) Is the emf output based on the pixel resultion of the image? I know
outputs of different software where this is not (emf=resultion independent).

My problem:
Poor quality of emf output.

Thanks in advance
I think the EMF should not be pixel dependent???

Best regards

Alex

Marc
Site Admin
Site Admin
Posts: 1217
Joined: Thu Oct 16, 2003 4:00 am
Location: Girona
Contact:

Post by Marc » Thu Mar 10, 2005 4:28 pm

Hello Alex,

TeeChart's EMF export uses Microsoft's Metafile format.

eg.

Code: Select all

System.Drawing.Imaging.Metafile
using

Code: Select all

System.Drawing.Imaging.EmfType.EmfOnly
We will probably introduce EMF+ support for TeeChart for .NET v2. Older WMF format, now not supported in TeeChart for .NET, is superseded by the current EMF format.

Testing the format confirms that vectors, here arcs and lines in the example charts, are being correctly rendered independently of the original pixel size of the image. I posted a few images to compare and portray that in answer to your attachment newsgroup post.

The example I sent includes the BubbleSeries, an example that plots a true arc and LineSeries that plots a series of straight vectors. Please zoom in on the images to view them (Windows default viewer for emf will respect its vector format) and you will notice the difference between the pixel PNG format and the vector EMF output.

For more information on Microsoft's emf format please see their documentation on the System.Drawing.Imaging.Metafile class.

I hope that may be of help.

Regards,
Marc Meumann
Steema Support

Alex
Newbie
Newbie
Posts: 38
Joined: Tue Aug 31, 2004 4:00 am
Location: Austria/Europe

Post by Alex » Fri Mar 11, 2005 9:32 am

Hi Marc,

thanks for the background!
I hope that may be of help.
Yes, it is. By the way, do you have a release date for TeeChart .NET v2?

Thanks!

Alex

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Post by Narcís » Fri Mar 11, 2005 9:43 am

Hi Alex,
By the way, do you have a release date for TeeChart .NET v2?
It is expected to be released by the end of this year's first quarter.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply