gotcha

Author Topic: How To: Export Page to mulitple file resolutions  (Read 325 times)

February 20, 2019, 11:29:22 AM
Read 325 times

seanalford

  • Newbie

  • Offline
  • *

  • 1
Is it possible to automate the export process so that multiple file resolutions are created?

For example suppose I have a document that is 1024x1024.  I'd like to quickly export the page following resolutions

path\filename20.png (20x20)
path\filename40.png (40x40)
path\filename60.png (60x60)
path\filename60.png (120x120)
...
path\filename1024.png
  • 0.92
  • Windows 10

February 21, 2019, 03:00:29 AM
Reply #1

brynn

  • Administrator

  • Offline
  • ******

  • 3,941
  • Gender
    Female

    Female
    • Inkscape Community
Welcome to the forum!

I don't know how to write scripts myself, but I'm pretty sure you could do that with a script.  Or possibly with the command line?  I don't know how to use that either.  But here's a reference for the command line features, in case you do:  https://inkscape.org/en/doc/inkscape-man.html

Hhmm, I don't think I've seen an extention for that, but maybe....  Well, Inkscape already natively does batch PNG exports.  But I don't think it will do different resolutions.  I found this extension, but it's not clear either how it's different from the native feature, or whether it does what you want, with different resolutions.  But you could install it and find out.  Or possibly with some research you could find out without installing it?

https://github.com/kristofvandam/inkscape-batch-export

  • Inkscape version 0.92.3
  • Windows 7 Pro, 64-bit
Inkscape Tutorials (and manuals)                      Inkscape Community Gallery                        Inkscape for Cutting Design                     



"Be ashamed to die until you have won some victory for humanity" - Horace Mann