emacs-devel
[Top][All Lists]
Advanced

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

Re: DJVU files and ImageMagick


From: Colin Baxter
Subject: Re: DJVU files and ImageMagick
Date: Mon, 04 Feb 2019 07:18:43 +0000
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.1 (gnu/linux)

>>>>> Roland Winkler <address@hidden> writes:

    > On Sat, Feb 02 2019, Stephen Berman wrote:
    >> I build Emacs from master with ImageMagick support, but if I try
    >> to visit a DJVU file (e.g. a ca. 200 page book of about 1.5 MB),
    >> immediately almost all my system's RAM is consumed, bringing
    >> Emacs to a halt, so it doesn't display the file, and I can
    >> recover the memory only by killing Emacs.

    > I am just curious: why are all pages converted immediately to
    > emacs' internal format upon loading a multipage document (be it a
    > djvu document or any other format)?  This sounds like a misfeature
    > to me.  I am not surprised this quickly consums all available
    > memory, say, if you wanted to work with multiple djvu documents
    > simultaneously.

    > The djvu package from GNU Elpa uses the command line tool ddjvu
    > from djvulibre to convert only the one page that is currently
    > displayed.  This approach is very fast in my experience, and it is
    > obviously by far less demanding when working with many
    > "many-pages" documents.

    >> (I normally view DJVU files in Emacs using the djvu package from
    >> ELPA

    > Really?  Hooray, someone else is using this package, too.  I
    > thought I was the very only one.

Me too. I have built emacs with ImageMagick and can view 20Mb+
djvu files easily with the excellent djvu package.

Best wishes,

Colin Baxter
address@hidden



reply via email to

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