RE: anti-aliased plots

From: Fine, Valeri <fine_at_bnl.gov>
Date: Tue, 6 Mar 2012 00:58:20 +0000


 Hi Anton,

> Dear rooters,
> is it possible to produce anti-aliased png plots with ROOT

[Fine, Valeri]
It is possible to do that with Qt-plugin http://doc.qt.nokia.com/4.7/qpainter.html#RenderHint-enum One needs to add one line into the TGQt.cxx code to set . At the time it swallowed too much CPUs and our users were inpatient and wanted to be fast. I did not try it yet, but you .... may try ;) I think that flag exists for the other ROOT graphical engines too.

>(without any external tools)
 Umm, Qt plugin is the external tool though.

Cheers, Valeri

>
> pic.png - this is what I have from ROOT currently
> pic-a.png - this is what I want to get directly from ROOT
>
> File pic.png was produced by attached macro pic.cxx:
>
> $ root -b -q -l pic.cxx
>
> And pic-a.png by convert utility:
>
> $ convert -density 88 pic.eps pic-a.png
>
> Thank you,
> Anton
Received on Tue Mar 06 2012 - 01:58:30 CET

This archive was generated by hypermail 2.2.0 : Tue Mar 06 2012 - 11:50:01 CET