title: imagemagick convert pdf with transparency to jpg
body: <p>When converting a PDF with images with transparency, the output ends up with a black background</p>
  <pre><code>convert -density 300 -background white -alpha off \
  -resize 80x80 -strip -quality 70 file.pdf[0] thumb.jpg[0]
  </code></pre>
  <p>Have tried to set the background to white and deactivate alpha, but the background still ends up black!?</p>
  <p>Test file</p>
  <p><a href="http://www.bluemachines.dk/pdf/trans.pdf" rel="noreferrer">http://www.bluemachines.dk/pdf/trans.pdf</a></p>
  <p>Have tested on these two versions so it looks like a generel &quot;issue&quot;</p>
  <p><code>ImageMagick-6.8.8-10</code></p>
  <p><code>ImageMagick-6.7.7-10</code></p>
  <h1>update</h1>
  <pre><code># /var/bin/ImageMagick-6.8.8-10/utilities/convert
  Version: ImageMagick 6.8.8-10 Q16 x86_64 2014-04-10
  
   # gs -v
  GPL Ghostscript 9.14 (2014-03-26)
  </code></pre>
  <p>Here is the output file</p>
  <p><a href="http://www.bluemachines.dk/pdf/thumb.jpg" rel="noreferrer">http://www.bluemachines.dk/pdf/thumb.jpg</a></p>
  <h1>-debug ALL</h1>
  <p>Can't post that much in the body so the output is pasted into this txt file</p>
  <p><a href="http://www.bluemachines.dk/pdf/debug.txt" rel="noreferrer">http://www.bluemachines.dk/pdf/debug.txt</a></p>