Difference between revisions of "Output format requirements"

From Inkscape Wiki
Jump to navigation Jump to search
Line 1: Line 1:
= Tips for getting Extensions to work =
+
[[Image:Example.jpg]]= Tips for getting Extensions to work =
 
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 [[GettingEffectsWorking]].
 
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 [[GettingEffectsWorking]].
  

Revision as of 06:48, 23 September 2007

Example.jpg= Tips for getting Extensions to work = 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 GettingEffectsWorking.

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>
<!--<dependency type="executable">ps2pdf</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