I ran into a bug, when i tried to export transparent pngs when the resolution dpi is high. I found that it is fixed in upstream, but i needed it now, so i tried only that patch, and it works fine. Consider using the patch and release another -r ebuild Reproducible: Always Steps to Reproduce: gs -dUseCropBox -dSAFER -dBATCH -dNOPAUSE -r300 -sDEVICE=pngalpha -dTextAlphaBits=4 -sOutputFile="pic_%03d.png" test.pdf Actual Results: png background if white (#ff0000) Expected Results: png with transparent background http://git.ghostscript.com/?p=ghostpdl.git;a=commitdiff;h=5ce12e8;hp=f790680acba5c1574728d5ff40124f9e27762d2a this patch works (saved as alphapng.patch) i put this line in the 9.04-r4 ebuild (on line 85) epatch "${FILESDIR}/alphapng.patch"
Thanks for providing a solution, the upstream fix is included in the patch tarball for -r5.