From: Colin Baxter <m43cap@yandex.com>
To: Roland Winkler <winkler@gnu.org>
Cc: , emacs-devel@gnu.org
Subject: Re: DJVU files and ImageMagick
Date: Mon, 04 Feb 2019 07:18:43 +0000 [thread overview]
Message-ID: <87ef8ot418.fsf@yandex.com> (raw)
In-Reply-To: <87va201e07.fsf@gnu.org> (Roland Winkler's message of "Sun, 03 Feb 2019 20:30:48 -0600")
>>>>> Roland Winkler <winkler@gnu.org> 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
m43cap@yandex.com
next prev parent reply other threads:[~2019-02-04 7:18 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-02-02 22:12 DJVU files and ImageMagick Stephen Berman
2019-02-03 17:12 ` Eli Zaretskii
2019-02-03 21:48 ` joakim
2019-02-04 2:30 ` Roland Winkler
2019-02-04 7:18 ` Colin Baxter [this message]
2019-02-04 17:34 ` Stephen Berman
2019-02-06 3:53 ` Roland Winkler
2019-02-06 5:30 ` Drew Adams
2019-02-06 16:35 ` Roland Winkler
2019-02-06 8:45 ` Stephen Berman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87ef8ot418.fsf@yandex.com \
--to=m43cap@yandex.com \
--cc=emacs-devel@gnu.org \
--cc=winkler@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.