Page 1 of 1

Print Quality

Posted: Fri Mar 22, 2013 9:11 am
by 16563504
Hi there,

it seems an ongoing issue for years now, that the quality of output created with the build-in functions in Teechart is poor (to say the best).
I would expect from a product of such reputation (Teechart), that what's shown on the screen should be printable in a quality which is
suited for high quality reproductions. A pixel output even in formats that are capable of vector graphics is not what I would expect.

So: Is it possible (or intended in a foreseeable future) to export graphs in a format of acceptable quality?

Hope for help

Norbert

Re: Print Quality

Posted: Fri Mar 22, 2013 10:20 am
by narcis
Hi Norbert,

Have you looked at the printing better article here? Does this answer to your problems? If it doesn't please provide more detailed information about your issues.

Thanks in advance.

Re: Print Quality

Posted: Fri Mar 22, 2013 11:19 am
by 16563504
Hi NarcĂ­s,

OK: the article claims that the built-in output is via EMF (which is Windows standard to
draw lines and polygons to the printer's canvas).
BUT, if I create a WMF-File (even with "enhanced" checked) the print editor asks for a resolution
(in pixels) and the output is pixel, not vector (I can send an example).
If I Print to a PDF-printer (Adobe, Bullzip, etc.) the result is also pixels not vector.
I can increase resolution, but then huge files are created,but those are still not losslessly scalable.

Am I missing something??

Best

Norbert

Re: Print Quality

Posted: Fri Mar 22, 2013 12:36 pm
by narcis
Hi Norbert,

What about exporting the chart to a PDF or PostScript, using the built-in functionality, and printing the image later? For exporting information please have a look at the import/export related tutorials. Tutorials can be found at TeeChart's program group.

Re: Print Quality

Posted: Fri Mar 22, 2013 1:45 pm
by 16563504
Hi Narcis,

I managed to produce a vector file (EMF) through the TeeCreateMetaFile-function. Unfortunately,
the quality (layout) differs quite a lot from "wysiwyg" (as mentioned in article you recommended above):
Font type/size, tics, grid, scaling... is completely messed up (why???).

I cannot get a grip on exporting to PDF/PS since I lack the corresponding export formats (only bmp and wmf
are offered with pixelled output, see above). I ran into that RegisterTeeExportFormat-procedure, but there
seems to be nothing to register (no format file available).

I guess we're approaching a solution, but why has this to be so intricate? A simple "Draw" to any canvas
should produce a satisfying result, shouldn't it? The rest is usually dealt with by the operating system, no?

Sounds like a fair portion of detention for your programmers :D

Best

Norbert

Re: Print Quality

Posted: Fri Mar 22, 2013 2:02 pm
by narcis
Hi Norbert,
I cannot get a grip on exporting to PDF/PS since I lack the corresponding export formats (only bmp and wmf
are offered with pixelled output, see above). I ran into that RegisterTeeExportFormat-procedure, but there
seems to be nothing to register (no format file available).
You need to include corresponding units in your project uses section, eg.: TeePDFCanvas. Examples of this are available at the new features demo, available at TeeChart's program group.

Re: Print Quality

Posted: Sun Apr 14, 2013 9:38 am
by 16563504
Hi Nacris,

I did not have much time recently, but now I'm back with my problem.
I managed to print/save vector files (EMF and PDF), but the quality
issue is still there in terms of messed up scaling and fonts. The
screen output looks pretty nice, but the saved file does not!
I added an example which demonstrates the problem.

Hope you can help

Norbert

Re: Print Quality

Posted: Tue Apr 16, 2013 2:12 pm
by yeray
Hello Norbert,

It seems that the resolution in the pdf is bigger than in the screen. This could explain why the fonts look smaller in the pdf.
Try setting a bigger font for axes labels and titles just before the exportation, and restore it after.