How to divide djvu files?

Discussion forum for all Windows batch related topics.

Moderator: DosItHelp

Post Reply
Message
Author
taherkhani
Posts: 24
Joined: 07 Dec 2012 04:33

How to divide djvu files?

#1 Post by taherkhani » 18 Feb 2014 04:46

Hi everyone,

I want divide a .djvu file to six pages, for example, a file with 504 pages to 84 files with 6 pages.

I know with this command:

djvused input.djvu -e "select 10; save-page-with page10.djvu"

can extract page 10 of the file input.djvu.

*** djvused.exe is a command included with DjVuLibre. You can see its manual ***

carlos
Expert
Posts: 503
Joined: 20 Aug 2010 13:57
Location: Chile
Contact:

Re: How to divide djvu files?

#2 Post by carlos » 18 Feb 2014 16:41

Hello I work with this epub:

Code: Select all

https://ia801508.us.archive.org/12/items/ost-english-sherlockholmescomplete/SherlockHolmesComplete.djvu


and the djvulibre version 3.5.25.4

I use:

Code: Select all

djvused SherlockHolmesComplete.djvu -e "save-page-with 10 out.djvu"
*** must select a single page first
*** (..\..\..\tools\djvused.cpp:380)


and the help info of djvused says:

Code: Select all

   select                 -- selects the entire document
   select <id>            -- selects a single page/file by name or page number


because it seems that you only can save a single page.

for manage multiple pages you need use djvm.

If you need the ready code, i can write it for a donation.

taherkhani
Posts: 24
Joined: 07 Dec 2012 04:33

Re: How to divide djvu files?

#3 Post by taherkhani » 19 Feb 2014 15:46

carlos wrote:for manage multiple pages you need use djvm.


djvm is a command for combine several .djvu files, so we must save each page of my file

and use djvm :(

This idea is not so reasonable for a file with a large page.

Post Reply