<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>As an example of using imagemagik to compare pdf outputs, people might want to take a look at the gregorio-test repository on GitHub (<a href="https://github.com/gregorio-project/gregorio-test">https://github.com/gregorio-project/gregorio-test</a>). While our infrastructure is bash based, we use imagemagik to check the output from using our package against a previously produced known good model. Furthermore, by specifying the paper size and a font which is provided locally in the test repository, we're able to do this across both Mac and Linux systems running in both the US and Europe. <br><br><div><span style="background-color: rgba(255, 255, 255, 0);">✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝✝<br>Br. Samuel, OSB</span></div><div><span style="background-color: rgba(255, 255, 255, 0);">(R. Padraic Springuel)</span></div><div>PAX ☧ ΧΡΙΣΤΟΣ</div></div><div><br>On Jun 20, 2016, at 7:35 PM, Karl Berry <<a href="mailto:karl@freefriends.org">karl@freefriends.org</a>> wrote:<br><br></div><blockquote type="cite"><div><blockquote type="cite"><span>* Convert generated file to image and run imagemagick to collect</span><br></blockquote><blockquote type="cite"><span>* statistical data.</span><br></blockquote><span></span><br><span>FWIW,I have done some image comparisons over the years using imagemagick</span><br><span>(there are some excellent web pages from anthony thyssen about it), and</span><br><span>I am extremely skeptical that statistical image comparison will work.</span><br><span></span><br><span> jw> I'd strongly suggest taking a look over l3build </span><br><span></span><br><span>FWIW, I fully agree. l3build is the way!</span><br><span></span><br><span> km> using ImageMagick to split a multi-page PDF into individual page images</span><br><span></span><br><span>Imagemagick just delegates to gs for PDF operations, as far as I know.</span><br><span>Personally, I'd just use gs directly. It could also be done with</span><br><span>pdf(la)tex itself, e.g., with the pdfjam scripts for convenience.</span><br><span>If it's really needed to split PDF output in the first place, which is</span><br><span>certainly premature to be discussing.</span><br><span></span><br><span> km> when my own tests run from a Makefile hang in TeX I have to key 'x'</span><br><span></span><br><span>Aside, but FWIW, alternatives:</span><br><span>tex '\nonstopmode\input ...'</span><br><span>or -interaction=nonstopmode, </span><br><span>or </dev/null.</span><br><span></span><br><span>(I run TeX from a Makefile 99% of the time, and I never want interaction.)</span><br><span></span><br><span>k</span><br></div></blockquote></body></html>