Inkscape.org
Beyond the Basics keyboard shortcut for export .png (page)
  1. #1
    tensaimon tensaimon @tensaimon

    Hi,

    I'm using inkscape for graphics and subtitles for youtube (in 2-3 languages, color coded, so can't just use an .srt) and I'm having to export a .png of my page because kdenlive doesn't display .svg text properly.

    But although I can get to the export .png with Ctrl+shift+E, I can't then select page (the default seems to be "drawing" - ideally I'd be able to change this default!) and I can't actually export by keyboard shortcuts - I'm having to select "page" and then "export" by mouse every time...which is definitely slowing the workflow down a bit.

    Is there any way to set a keyboard shortcut for this operation?

    thanks for any help!

  2. #2
    Polygon Polygon @Polygon🌶

    Aside from it´s here shift+cmd+E Inkscape will remember "Page" when 1. nothing is selected and 2. you explicit choose "Page" as Export area.

  3. #3
    tensaimon tensaimon @tensaimon

    a-ha, playing around with that, it looks like if I check "close when complete" then export (or just close the dialogue) , )next time I hit crtl+shift+E to open the export dialogue (with nothing selected) does indeed open with "page" selected. Thanks, that's one less mouse click (which is a very good thing with 100 exports per 3 min video)!

    No way to "export" via keyboard?

  4. #4
    Polygon Polygon @Polygon🌶

    Sure - but it leads to the export-dialog as you may need to give a new file name - no? But "Export" won´t take a "return" as an order so to speak.

  5. #5
    tensaimon tensaimon @tensaimon

    I'm using the same file name (just .png instead of .svg) which seems to be the default, so I just need to "export" with no changes, but yes there's no way to keyboard the actual "export" (not that I can see anyway)

  6. #6
    Xav Xav @Xav👹

    Does Kdenlive manage the rest of the SVG file okay, including paths? How about converting the text to paths and using the SVG file directly? It's usually best to duplicate the text first, and put the original text on a hidden layer in case you do need to change it later. This approach has the advantage of keeping it all vector, so Kdenlive should be able to better scale the content regardless of the export dimensions of the final video.

  7. #7
    tensaimon tensaimon @tensaimon

    thanks for the suggestion, unfortunately kdenlive doesn't seem to handle .svg very well at all, stroke doesn't work properly, and I just tried a slide and it was wildly offset....

    I found a good labor-saving workaround tho:

    after doing all the subtitles in .svg i then opened the folder in a terminal and used this code to duplicate all the .svgs to .pngs, worked a treat and is obviously MUCH easier than even a keyboard shortcut (since I'd still be doing the files one by one)
    (I posted on the linuxmint forum and someone gave me this code, I don't know anything about coding)

    for file in *.svg; do inkscape "$file" --export-png "${file%svg}png"; done
    
Inkscape Inkscape.org Inkscape Forum Beyond the Basics keyboard shortcut for export .png (page)