including a PNG with index colour creates invalid PDF
Write with $firstline=TRUE doesn't handle words longer than one line very well