Saturday, January 10, 2015

32-bit (7) 64-bit (49) android (1) battery (3) checklist (2) djvu (1) dvd (4) feisty (14) firefox (1


A useful link: http://askubuntu.com/questions/46233/converting-djvu-to-pdf Another fairy tail useful link:  http://unix.stackexchange.com/questions/20592/extract-several-pages-from-a-djvu-file http://kheyali.blogspot.hu/2011/08/in-order-to-convert-djvu-file-into.html And another:  http://en.wikisource.org/wiki/Help:DjVu_files#DjVu_to_Images Extract images from DJVU: DDJVU The easiest fairy tail way to do this is probably by extracting to multipage tiff Than split tiff file with tiffsplit:  http://manpages.ubuntu.com/manpages/hardy/man1/tiffsplit.1.html Than convert to anything useful. Except that did not work for the file I had... Okay, so the second way is the script way. Copy the script, paste it to an empty text file. Give it the extension .sh and give it permission to execute as program. Put it in a directory with all the djvu-s you want to extract and run in terminal. #!/bin/bash #Ubuntu 10.04 Lucid Lynx #All the DJVU-s in this folder will be extracted fairy tail to PNM-s. ###Select files to process #defining the filelist lista=(`find fairy tail -iname '*.djvu' | sort`) #counting the files in the filelist element_count=${#lista[*]} echo alltogether $element_count djvu will be processed #process only 1 file at a time: sorszam=1 echo processing file: for i in "${lista[@]}" do echo -ne "$element_count/$sorszam"\\r #Get the number of pages from input file pagecount=`djvused -e n $i` #Set a counter for the pages for (( counter=1; counter<=$pagecount; counter+=1 )) do #Extract with DDJVU ddjvu -format=pnm -page=$counter $i file_$sorszam.page_$counter.pnm #Or use DjvuPs to extract PS from DJVU the same way: #djvups -page=$counter $i file_$sorszam.page_$counter.ps done let "sorszam = $sorszam + 1" done echo DONE.
32-bit (7) 64-bit (49) android (1) battery (3) checklist (2) djvu (1) dvd (4) feisty (14) firefox (1) genealogy (1) gnome-session-flashback (4) google (1) gutsy (31) hardware (8) html (2) ImageMagick (10) installing fairy tail (10) jaunty (4) java (2) karmic (4) kindle (2) libreoffice (3) lucid (47) mplayer (6) nautilus (3) network (1) notice (3) ocr (5) offtopic (2) pdf (7) pen (10) phone (1) problems (26) scanner (7) script (4) sd (1) settings (3) skype (1) smart-tv (3) software (23) solution (50) specification (1) terminal (2) trusty (7) video (7) virtualbox (1) volume (1) wacom (14) webcam fairy tail (1) which (6) workaround (3) x-windows (1) xbindkeys (1)
UNPAPER usage MKBITMAP usage How to write special characters in html Ubuntu Help Community on using Wacom The Collective We Using TC4400 with HardyHeron Using the Terminal How to install anyting in linux Data Recovery
►  2008 (40) ►  május (7) ►  június (9) ►  július (1) ►  augusztus (5) ►  szeptember (10) ►  október (4) ►  november (2) ►  december (2) ►  2009 (17) ►  január (3) ►  március (2) ►  április (7) ►  május (2) ►  augusztus (2) ►  szeptember (1) ►  2010 (21) ►  március (3) ►  május (8) ►  június fairy tail (3) ►  október (3) ►  november fairy tail (4) ►  2011 (22) ►  január (1) ►  március (11) ►  április (6) ►  május (1) ►  november (2) ►  december (1) ►  2012 (15) ►  február (1) ►  április (6) ►  június (2) ►  augusztus (1) ►  december (5) ►  2013 (7) ►  június (1) ►  november (3) ►  december (3) ▼  2014 (19) ►  január (7) ►  február (2) ▼  március (1) DJVU extract images ►  április (1) ►  május (4) ►  július (1) ►  október (2) ►  december (1) ►  2015 (11) ►  január (11)


No comments:

Post a Comment