[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Make doc-view's pdf->png conversion customizable
From: |
Elias Pipping |
Subject: |
Make doc-view's pdf->png conversion customizable |
Date: |
Sat, 25 Jun 2011 16:35:06 +0200 |
Hello,
mupdf[1] provides the program "pdfdraw" that can convert pdf files to
png images. I've attached a patch to doc-view.el (against the emacs-23
branch, can be applied to 23.3 without any changes as well) that (most
prominently) adds a new (customizable) variable
doc-view-pdf->png-converter-invocation, which can be set to one of the
pre-defined functions
doc-view-pdf->png-converter-invocation-ghostscript
doc-view-pdf->png-converter-invocation-mupdf
or a user-specified function. doc-view-pdf/ps->png and
doc-view-pdf/ps->png-1 were made to use them.
Best regards,
Elias Pipping
[1] http://mupdf.com/
0001-Make-doc-view-pdf-png-1-customizable.patch
Description: Text Data
- Make doc-view's pdf->png conversion customizable,
Elias Pipping <=