bug-lilypond
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ledger lines in PNG output have white interior


From: Werner LEMBERG
Subject: Re: Ledger lines in PNG output have white interior
Date: Wed, 15 Feb 2012 23:11:23 +0100 (CET)

>> gs 9.00 on GNU/Linux, using gv 3.7.0.
>> [...]
>> Looks like a bug in the anti-aliasing device of gs: If I switch to
>> B/W, the ledger line is just fine.
> 
> Are you reporting this to the ghostscript folks?

I haven't had time yet to install the latest GS version (9.05).  Any
takers?

> Any idea for a workaround? I urgently need to generate the png files
> (~50 examples) before the weekend to insert them into a thesis (.doc
> file) and send the draft to the advisor.
> Using -dpixmap-format=pngmono creates ugly pixelated images,
> everything else (even inserting the eps file into libreoffice)
> creates those white rectangles inside the ledger lines.

Just create PDFs, move them into a separate directory and do

  for i in *.pdf; do
    cat $i.pdf | pdftoppm | pnmtopng > `basename $i .pdf`.pgn
  done

I'm using pdftoppm 0.18.3 (from poppler).


     Werner



reply via email to

[Prev in Thread] Current Thread [Next in Thread]