
Josef Vybiral wrote:
On Tue, 14 Mar 2006 04:05:41 +0100, Michal Žeravík <michalz@...28...> wrote:
Josef Vybiral wrote:
Hi Michal,
On Mon, 13 Mar 2006 21:30:08 +0100, Michal Žeravík <michalz@...28...> wrote:
Hi all,
is it possible to make 'slices' - rectangular named rectangles for export to png? I'ts known from Xara and Photoshop for creating web images. Does exists such plugin?
I am not sure if this can help you but there is a svg slicing tool made by digitalunleashed.com and called by "SVGSlice" [1]. Perhaps it can do at least part of things you need. I've not tested it yet but from a quick view on the file [2] it is python script with Inkscape's extension included. See the webpage [1] for details about slicing the image in Inkscape.
aw, looks good, but how can I install that extension (.inx) to inkscape?
To install it as an extension into Inkscape you have to copy the .inx file into the /usr/share/inkscape/extensions directory (or c:\program files\inkscape\share\extensions ) and then restart Inkscape. If you have the pyslice script copied into the /bin directory and set to be executable then it should be enought ot get it working. According to the .inx file the new option should appear in the list of available formats in the Save dialogue. Unfortunatelly I had no luck with this on my Windows machine, where other extensions work, so I can not tell you any practical information or experiences.
cheers cornelius
hey, I did exactly what you've written but I can't see any additional options in inkscape... i'm using 0.42 on Ubuntu linux; i can run svgslice script though, but I can't find any examples of how to use it... all i can find is the help screen:
./svgslice --help usage: svgslice [options]
options: -h, --help show this help message and exit -d, --debug Enable extra debugging info. -b BACKGROUNDCOLOR, --backgroundcolor=BACKGROUNDCOLOR Background color to use when rendering transparent bitmaps (any valid inkscape color; defaults to "white"). -p SLICEPREFIX, --sliceprefix=SLICEPREFIX Filename prefix to use for generated slices. -l, --layerengine Use layer-and-rectangle based slicing engine. -w WEBPAGE, --webpage=WEBPAGE Generate webpage code to display the slices. (Currently only available for Guide-based slicing). -t, --test Test mode: leave temporary files for examination.
but no examples. Can anyone help?
regards, #9