[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Make doc-view's pdf->png conversion customizable
From: |
Elias Pipping |
Subject: |
Re: Make doc-view's pdf->png conversion customizable |
Date: |
Sat, 25 Jun 2011 16:41:07 +0200 |
On Sat, Jun 25, 2011 at 4:35 PM, Elias Pipping
<address@hidden> wrote:
> 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/
I attached an old version of the patch by mistake.
I've attached the new and correct version to this email.
0001-Make-doc-view-pdf-png-1-customizable.patch
Description: Text Data