[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] dvipng is not called by auctex
From: |
Tassilo Horn |
Subject: |
Re: [AUCTeX] dvipng is not called by auctex |
Date: |
Thu, 04 Jul 2013 09:04:13 +0200 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) |
David Kastrup <address@hidden> writes:
>> In any case, in terms of speed, is this the best possible option?
>
> Nowadays, it's conceivable that pdftocairo might be faster
No, at least not for me. I tested with some 750 pages PDF.
$ pdftocairo -png uml2.4.1-super-11-08-06.pdf page
# 345,99s user 1,16s system 99% cpu 5:50,00 total
$ gs -dSAFER -dNOPAUSE -sDEVICE=png16m -dTextAlphaBits=4 -dBATCH \
-dQUIET -sOutputFile=page%d.png uml2.4.1-super-11-08-06.pdf
# 154,35s user 0,67s system 98% cpu 2:37,12 total
But what's really, really fast is the mudraw tool from the mupdf package
(http://www.mupdf.com/).
$ mudraw -o page%d.png uml2.4.1-super-11-08-06.pdf
# 24,19s user 1,36s system 97% cpu 26,156 total
doc-view uses that by default if it is installed.
Bye,
Tassilo