[Digikam-devel] [Bug 117074] Convert to djvu in the batch conversion dialog

Nicolas Brisset nicolas.brisset at eurocopter.com
Mon Nov 28 09:11:43 GMT 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=117074         




------- Additional Comments From nicolas.brisset eurocopter com  2005-11-28 10:11 -------
I can't wait to try the djvu reader (even though the djvulibre viewer works very well). However, this is more related with djvu documents than djvu images to replace jpg (typically, with just one image per file).
Regarding the batch conversion, I have looked at the source code a bit, but it wasn't as straightforward as I had hoped :-( I could possibly make the required changes if someone points me in the right direction. From what I can see on the website, Image Magick does not support .djvu, but maybe it is possible to set up a delegate for that ? However, that sounds more complicated than just calling c44 to do that conversion. The syntax to convert image.jpg into djvu is :
"c44 image.jpg" : quite easy :-)
Note that contrarily to ImageMagick, not all input formats are accepted by c44, and in some cases it would be a bad idea to first compress into jpg (losing quality) and then djvu (loosing other sorts of information). The djvulibre developers are very nice (I had several mail exchanges with Leon Bottou, and I believe he even has a KDE svn account) and could probably help if required. One thing that should be possible from digikam to preserve image quality as much as possible is converting directly from raw or TIFF to djvu...



More information about the Digikam-devel mailing list