[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Horizontalized scores
From: |
Chris Crossen |
Subject: |
RE: Horizontalized scores |
Date: |
Mon, 17 Feb 2014 16:51:27 -0700 |
> >Chris Crossen:
> > The trick to getting the crisp horizontal and vertical lines while
> > still getting anti-aliased curves is the ghostscript option ->
dGraphicsAlphaBits.
> > When Lilypond produces a .png file it set this to 4. If you set it to
> > 1 instead, you get horizontal and vertical lines that aren't
anti-aliased.
> David Kastrup:
> Not just horizontal and vertical lines. Also things like circles. The
appearance
> of, say, { b\1 b\2 b\3 b\4 } is a downside to this approach.
>
> I just remembered another option:
>
> Convert to PDF with -dstrokeadjust and then convert PDF to PNG with
> pdftocairo. This approach is likely one of the slowest, but it's
basically what I
> used to batch-test what PDF previewers like Evince would be likely to
deliver.
>
You're right. I tried your sample with my approach and see the problem.
Do you have any suggestions for options to use with pdftocairo?
I tried pdf2cairo -png input.pdf output.png
and the output wasn't anywhere near as good as what I see if I look at the
pdf with preview on my Mac.
It's frustrating that a PDF viewer does such a great job of rasterizing the
image and the only way I can get an equivalent .png is to take a screen shot
of it.
Chris Crossen
- Re: Horizontalized scores, (continued)
- Re: Horizontalized scores, Janek WarchoĊ, 2014/02/14
- RE: Horizontalized scores, Chris Crossen, 2014/02/14
- Re: Horizontalized scores, Noeck, 2014/02/14
- RE: Horizontalized scores, Chris Crossen, 2014/02/15
- Re: Horizontalized scores, David Kastrup, 2014/02/16
- Re: Horizontalized scores, karl, 2014/02/16
- RE: Horizontalized scores, Chris Crossen, 2014/02/16
- Re: Horizontalized scores, David Kastrup, 2014/02/16
- RE: Horizontalized scores, Chris Crossen, 2014/02/17
- Re: Horizontalized scores, David Kastrup, 2014/02/17
- RE: Horizontalized scores,
Chris Crossen <=
RE: Horizontalized scores, Tim Roberts, 2014/02/18
Re: Horizontalized scores, Chris Crossen, 2014/02/18