Hi,
Is it possible to export mulipage files in command line?
something like that: inkscape.com filename.cdr --export-png=*.png
Export multipage files
Re: Export multipage files
looks like your link does not answer on my question. There are some files for example cdr or tiff that can be multipaged inside it. right no the console comanda --export-png export only first page from file. Maybe there is some additional option that can be set?
Re: Export multipage files
No, current development builds don't have such a feature built-in - neither for CDR nor for other multi-page file formats like PDF.Gaploid wrote:Is it possible to export mulipage files in command line?
something like that: inkscape.com filename.cdr --export-png=*.png
(For PDF there exist several utilities to split file into individual pages (PDF) - I'm not aware of such a tool for CDR files. You could use the command line tool from libcdr (cdr2xhtml), and write a (shell, python, perl, …) script which first converts the CDR file to an XHTML file, then extracts the different pages from the XHTML file (the XHTML file is a basically a wrapper for the individual SVG files per page), and finally runs inkscape on each of those extracted SVG files to export to PNG (possibly by piping the list into an 'inkscape --shell' command if there are lots of pages to convert).
Re: Export multipage files
Thanks for answer. Can you point me to cdr2.html
Re: Export multipage files
Gaploid wrote:Thanks for answer. Can you point me to cdr2.html"font-weight: bold">Inkscape Devlibs for Windows repository. AFAICT the repo does include the command line tools (binaries) from libcdr (they are not bundled with inkscape because inkscape does not use them).
For details about how to checkout the bazaar repository on Windows, I would refer you to this page in the Inkscape wiki: Compiling Inkscape on Windows > Install the developer libraries (you likely will have to install a Windows build of bzr for this), or alternatively - if you do not need to be able to update the files from the repo, or do not want to bother with bzr - download a tarball of the latest revision from the bazaar repo (browse to the changelog, click on the latest revision - on the page showing the changes for that revision, there's a link called download tarball).