Support for DJVU format

kisial

Joined: 2010-02-22
Posts: 2
Posted: Mon, 2010-02-22 15:40

Hi,

I am using Gallery2 for storage of PDF files with scanned paper documents. It is perfect for orientation in documents to generate thumbnail and the preview of first page with imagemagick toolkit.
For some purposes I am also using DJVU documents and it would be very helpful for me if also DJVU files could be processed as PDF files via imagemagick.

Thanks,

kisial

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2010-02-22 16:41

You can try installing the MIME Maintenance module and configuring Gallery to recognize that file format.

____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here

 
kisial

Joined: 2010-02-22
Posts: 2
Posted: Mon, 2010-02-22 17:04

I have MIME image/vnd.djvu already present in my gallery2 installation, but imagemagick plugin cannot process it (although imagemagick binary "convert" can read it). It must be added proper support for MIME "image/vnd.djvu" into the plugin.

 
nivekiam
nivekiam's picture

Joined: 2002-12-10
Posts: 16504
Posted: Mon, 2010-02-22 17:19

Ah, I see. You may have to edit a few files under modules/imagemagick to add that support.

Try taking a look at this thread and this modification suprsidr made to add .rgb support:
http://gallery.menalto.com/node/93980#comment-333552
____________________________________________
Like Gallery? Like the support? Donate now!!! See G2 live here