[Top][All Lists]

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

Re: Djvu mode

From: joakim
Subject: Re: Djvu mode
Date: Thu, 29 Sep 2011 23:34:33 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux)

"Roland Winkler" <address@hidden> writes:

> On Thu Sep 29 2011 address@hidden wrote:
>> I wrote the ImageMagick support for Emacs 24 specifically so I could
>> view djvu images.
> ...What is this supposed to do?  I do not know much about image
> support in emacs. How can this possibly handle djvu files?
>> Other than that I haven't made anything, so I'm very interested in
>> your different djvu modes. I hope you can work together and
>> include the code in Gnu ELPA.
> Right now I have no idea what kind of functionality one can possibly
> get for viewing djvu files from ImageMagick in Emacs. I've never
> dealt with that.
> Currently, my djvu mode is completely built around the djvu text
> layer (via djvused). For simplicity it uses djview as an external
> viewer, though this could be changed. How does ImageMagick handle
> highlighting in djvu pages?

I don't know so much about these advanced features of djvu.

The ImageMagick support works like any other image support in Emacs. If
you've configured it to be used you can for example open an image in a
buffer from dired. Emacs image functions also support opening a
particular image in a djvm container but because of limitations in
imagemagick it doesn't work too well.

My usecase is scanning a lot of pages and converting each page to djvu,
and then to the djvm container. I have an emacs package called "emsane"
on github for this. I've been meaning to implement ocr with ocropus and
somehow create the djvu text layer that way but I haven't gotten around
to it.

Can you explain what you mean with highlighting? There are lots of
things you can do in Emacs. For instance I have a trivial example called
dragbox.el on github which makes it possible to interactively create a
rectangular overlay on an image. The region can then be extracted and ocr:ed.

> Roland

Joakim Verona

reply via email to

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