SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] Comparing pdf output in tests

From: Michael D. <md...@st...> - 2009年09月22日 19:24:30
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"?
> 
We can probably standardize the version of gs on the buildbot machines, 
but it's been very useful up to now to have tests that can run on a 
variety of developer machines as well. 
I don't know how different the output will be from different versions of 
gs -- maybe we should just try it and see. I have a pretty old version 
of gs on my RHEL4 box (7.07). If you want me to send you a png of a 
particular pdf to directly compare with yours before you even start with 
the test infrastructure, I'm happy to do that.
Mike
-- 
Michael Droettboom
Science Software Branch
Operations and Engineering Division
Space Telescope Science Institute
Operated by AURA for NASA

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /