Output format requirements
(Redirected from GettingExtensionsWorking)
Jump to navigation
Jump to search
The Inkscape Wiki is no longer used to host information about Extension development.
You can now find related information at GitLab.
This page is kept for historical reasons, e.g. to document specific decisions in Inkscape development.
Inkscape's extensions allow for importing and exporting non-SVG file types and direct editing of the current SVG document. For more information about the Extensions that appear in the Effects menu read Getting Effects Working.
Open *.TXT
- install perl
- install SVG perl module
Open *.AI
- install perl and optionally Image::Magick
- Only handles Illustrator versions prior to version 9 (version 9 onwards stores files as PDF according to https://createpdf.adobe.com/cgi-feeder.pl/formats?BP=&LOC=en_US)
Save *.AI
- requires pstoedit with the ps2ai filter
- uses Inkscapes internal ps output extension
Open *.PS
- requires skconvert python script from sketch =>> install sketch
Open *.WMF
- requires wmf2svg, part of libwmf (http://wvware.sourceforge.net/libwmf.html)
Save *.PDF (Win32)
- install GhostScript http://www.cs.wisc.edu/~ghost/doc/AFPL/get851.htm
- create ps2pdf.cmd in %instdir%/share/extensions/
REM BEGIN @echo off REM edit %GSDIR% to match the ghostscript installation directory set GSDIR=%PROGRAMFILES%\gs\gs8.51\ set GSBINDIR=%GSDIR%bin set GSLIBDIR=%GSDIR%lib set PATH=%GSBINDIR%;%GSLIBDIR%;%PATH% ps2pdf.bat %1 - REM END
- edit pdf_output.inx
<inkscape-extension> <name>PDF Output</name> <id>org.inkscape.output.pdf</id> <dependency type="extension">org.inkscape.output.ps</dependency> <dependency type="executable" location="extensions">ps2pdf.cmd</dependency> <output> <extension>.pdf</extension> <mimetype>image/x-portable-document-format</mimetype> <filetypename>Adobe PDF (*.pdf)</filetypename> <filetypetooltip>Adobe Portable Document Format</filetypetooltip> </output> <script> <command reldir="extensions">ps2pdf.cmd</command> <helper_extension>org.inkscape.output.ps</helper_extension> </script> </inkscape-extension>
Save *.XCF
??