inkscape

Programmatic graphics toolchain

I have drawn an icon in Inkscape, but would now like to programmatically alter it (change the colours slightly for different icon states) and convert it to a tiled PNG format file containing multiple icons with different colours. I know about Inkscape's --export-png options, but can't see a way to make it change the image and/or export m...

Library for using SVG in Windows Forms / WPF?

Are there any libraries which Allow to draw svg direct to a Windows Forms application to a WPF application I draw graphics and design everything with Inkscape, because I love that program. Then I have those stunning svgs and have to either export them to png (WinForm) to use them or convert them to xaml-code (WPF) (Kaxaml helps me). ...

Inkscape + pdftex?

I have a small drawing in Inkscape and I want to embed it in a LaTeX document which I compile using pdftex. pdftex seem to have an oddity of not accepting .eps. infact if what I understood is correct the only vector graphics format it accepts is pdf. When I save my drawing in Inkscape as pdf then what I get is a pdf with a full page with...

Expand a relative path in Ant script, for Inkscape

I'd like to write an Ant script that calls an external utility (Inkscape, in fact) that needs a full path. Right now I have <exec executable="${inkscape.path}"> <arg value="--file=build_exe/splash.svg" /> <arg value="--export-png=build_exe/splash.png" /> <arg value="-C" /> </exec> On Windows, Inkscape requires absolute pat...

what is a good way to convert a vector mock up into html?

I'm am trying to make a three column layout for a website from an inkscape mockup that I made. The problem is that I am more of an artist that a programer, so I know only the basics. I will take any suggestions. Thanks! ...

Gimp vs Inkscape vs Fireworks for website development?

InkScape users, can you recommend Inkscape for website-template development. I have to learn a tool for website templating, to create layout and export slices, one of my friend is suggesting fireworks i have seen him working ie why i am aware about slicing/css, and web-says lnkscape shall be fine, nothing detailed review. Has someone, yo...

Raster graphics or vector graphics, which to choose for web-site development/designing?

While looking for a good tool for web-site development/designing on linux, I in the end got stuck with what to choose, the raster graphics or vector graphics. Gimp/Photoshop -- if you prefer Raster graphics (bitmaps i think) Inkscape/Fireworks -- if you prefer vector graphics (svg i think) I am totally inexperienced in this domai...

Extracting path data from an SVG map to use in RaphaelJs

I'm trying to build an an interactive map using RaphaelJS (e.g. http://raphaeljs.com/australia.html). Please check the source. It requires map path data to input. There is no clear explanation anywhere about how to obtain this information, other than the fact that illustrator or inkscape are capable of doing it. I'm looking to obtain "S...

How can I programatically convert SVG files containing text to PDF files (specifically on CentOS 5.3 x86_64)?

I would like to programatically convert SVG files to PDF files. However, the SVG files contain text that must be searchable in the generated PDF files. Also, it has to work on Red Hat Enterprise Linux 5.3 or CentOS 5.3 for the x86_64 architecture. It would be nice if it were Open Source or at least not very expensive. Here is what I've ...

Inkscape moveTo coords way off in Raphael

I am trying to copy paths from inkscape into Raphael (individual countries), the problem is the moveTo is way off, how do I make it display on the relatively correct position on the canvas? ...

create text inside a rectangle using inkscape

I've put some text inside a rectangle using inkscape so the tree is like <svg:rect><svg:text><svg:tspan>text.... The problem is, I can't see the text. I've tried fiddling with the opacity of the rect to no avail. There should be a way of doing this from the UI? Edit example as requested <?xml version="1.0" encoding="UTF-8" standal...

Coverting SVG Path from inkscape to Raphaeljs

In inkscape the coordinate system is bottom/top corner (meaning, 0,0 is left bottom corner). This is the same case with Adobe Illustrator. But, when I try to use this path string in raphael it use top/bottom (meaning, 0,0 is top/left corner) approach. How to convert this path string according to browser's coordinates or raphael's coordin...

Run inkscape in PHP

Hello! I need to run inkscape in PHP so I can convert an svg image to PDF. However every time I try: //some PHP code system("inkscape -z --file=svg.svg --export-pdf=pdf.pdf"); //more code I get no new file and I get this in the apache erro log. (inkscape:28607): libgnomevfs-WARNING **: Unable to create ~/.gnome2 directory: ...

Transparency in Inkscape

Hey guys, I am using Inkscape and i know how to use transparency within the image... But I am anoied that the background of the workspace in Inkscape is white. I already searched through a lot of settings, but how do I get the workspace checkered like I know it from GIMP. The white workspace is really disturbing if you design sth in whi...

inkscape shell mode

I tried to run inkscape shell mode by writing these lines in a .bat file: inkscape --shell >2.svg -e 2.png But it doesn't work at all (no png files), more over I tried to open the current svg input and I found it damaged and I failed to open it at all. Could any one please tell me the right command lines to enter the SHELL mode and ...

svg2css inkscape extention

I tried to use svg2css inkscape extension in python, which converts an svg file to its equivalent css+html, but it resulted in no output with a warning message: Source file C:\WINDOWS\Temp\ink_ext_XXXXXX.svg9EFDKV not an SVG. My svg file is very simple, it just contains one text tag, I tried to generate the css+html from these svg ...

Enabling guides to help center in Inkscape

I'm starting to learn to use Inkscape, and I'm going through this tutorial on creating a shiny clockface. Each hour position is represented by a circle, so I want to place the circle's rotation cross mark is the absolute center of the circle, as well as put the circle at one of the 12/3/6/9 o'clock positions, as in this picture: I can...

ProcessBuilder vs Runtime.exec()

I'm trying to create a frontend app in Java to handle batch SVG conversions using Inkscape's command line feature. I'm taking and updating the code from https://sourceforge.net/projects/conversionsvg/. The way the original developer handled calling Inkscape by Runtime.getRuntime().exec(String). The issue I'm running into is some inconsis...