Tuesday, April 26, 2011

DjVU in Conversion and Compression of Files(Image,Data,Video,Sounds and etc)


Introductions:

I've gone too far with the Gambas2 IDE just recently when I finished the RoBook Scanner Phase 1 (software testing) .The stuff which I needed to include was the compression and conversion of images into smaller bytes and into another format.So I ended up choosing for a free software that will aid me doing the task, then I was stumbled in searching djVulibre features in scanning- the book scanned image.Of-course another third party open-source is very helpful for the djVu to act on the job and this is the ImageMagic-these two applications really gives me an extremely powerful scanning tools.

And why do I say so?Well DjVU and ImageMagic are free, these software had gone trough an intense R&D every time each versions are being release.

The Djvu technology was originally developed by Yann LeCun, Léon Bottou, Patrick Haffner, and Paul G. Howard at AT&T Labs from 1996 to 2001.DjVu (pronounced "déjà vu") is a digital document format with advanced compression technology and high performance value. DjVu allows for the distribution on the Internet and on DVD of very high resolution images of scanned documents, digital documents, and photographs. DjVu viewers are available for the web browser, the desktop, and PDA devices. Djvu is widely used across economic sectors, although the PDF format continues to be more widely adopted(wikipedia) .

Keywords:
cjb2,cpaldjvu, djvm,djvudump , ddjvu, djvu, djview, pnm, pbm, pgm, ppm, cjpeg, tiffsplit, tiffcp,djvused

Requirements:

Download Image Magic

Download pdf2djvu


Download djVuViewer


Download djvulibre

Download ffmpeg



Objectives:

To use DjVU features in Book Scanning:
a) File size compression
b) File format conversions
c) Compiling Multiple pages
d) Splitting Multiple pages into a single page
e) Apply djVu in RoBook Scanning

Methodology:


1) Installing ImageMagic
root@localhost# yum install Imagemagic*

2) Installing DJVuLibre(djvulibre,djvulibre-devel djvulibre-libs)
root@localhost# yum install djvu*

3)Converting Image format
root@localhost# convert image.jpg image.tiff

4) Image format to djVu
root@localhost# c44 left0.jpg
root@locahost# ls left0.djvu
4.1) djVu to image format

5) djVu to PDF

5.1) ) PDF to djvu

6) djVu multiple page


6.1) Splitting djVu multiple page

7) DjVu with OCR

7.1) Ocr to txt files

Detail(1) Scanned images



Detail(2) processing djVu


Remarks:

Conclusions: