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 ***
How to divide djvu files?
Moderator: DosItHelp
Re: How to divide djvu files?
Hello I work with this epub:
and the djvulibre version 3.5.25.4
I use:
and the help info of djvused says:
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.
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.
-
- Posts: 24
- Joined: 07 Dec 2012 04:33
Re: How to divide djvu files?
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.