#!/bin/bash # for i in *.JPG; do echo $i; c44 -size 5000,250000 $i $i.djvu; done; djvm -c out.djvu *.JPG.djvu; rm *.JPG.djvuc44 size parameter affects quality. 250Kb suits me well. c44 and djvm are in package djvulibre-bin.
Thursday, January 13, 2011
Jpegs to djvu
Bash script for converting all jpeg files in a folder into a single djvu file:
Subscribe to:
Post Comments (Atom)

0 comments:
Post a Comment