Inkscape.org
Beginners' Questions Flopping/Flipping SVG from command line
  1. #1
    sergejzr sergejzr @sergejzr

    Dear Inkscape community,

    I need to flop SVG (mirror horizontally). This works perfectly from the GUI (select all objects, flip/flop, or even canvas flip/flop). Unfortunately, I did not find this option in CMD (or shell) using Inkscape.

    May I have overlooked something, or is there no option at all, and it is planned to include it at some point in time?

    Thank you!

  2. #2
    Polygon Polygon @Polygon🌶
    👍

    This is from the chat last week from user @inklinea :

    • Flip horizontal and vertical are verbs - they can be used from the command line

    • inkscape --batch-process --actions="select-all;ObjectFlipHorizontally;export-filename:flipped.svg;export-do;" drawing.svg

    Link: https://chat.inkscape.org/channel/inkscape_user?msg=2H4oYsBAhCSbxYh9L

    Hope this helps.

  3. #3
    sergejzr sergejzr @sergejzr

    @Polygon Perfect, thank you very much! :)

Inkscape Inkscape.org Inkscape Forum Beginners' Questions Flopping/Flipping SVG from command line