Jouni K. Seppänen wrote:
> I am thinking about adding pdf comparison ability to compare_images. One
> simple way to do this would be to convert pdf files to pngs using
> Ghostscript: if we store reference pdf files, and both the reference
> file and the result of the test are converted using with exactly the
> same version of gs, there should be no font-rendering or antialiasing
> mismatches.
>
> Can we assume that all test computers will have some version of
> Ghostscript installed and callable as "gs"?
>
>   
Hi Jouni,

Sorry for not noticing this earlier, but I'm looking in the baseline 
image directory, and I see a bunch of *_pdf.png files. I guess these 
have been convered to png from pdf on the tester's machine. Do you think 
it makes more sense to have the .pdf files in the test repo and convert 
to png at test run time? This way we don't become dependent on gs 
rendering quirks or differences across pdf renderers. Maybe the files 
are also smaller.

-Andrew

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to