Re: SVG to raster conversion.

2007-09-17 Thread Paul Boddie
On 16 Sep, 19:50, "J. Cliff Dyer" <[EMAIL PROTECTED]> wrote: > > Thanks. I can't find a gimp-python package for gimp-2.x anywhere > though. Does such a thing exist? I noticed that my copy of The GIMP has Python extensions, and looking at the package details... http://packages.ubuntu.com/feisty/

Re: SVG to raster conversion.

2007-09-17 Thread BJörn Lindqvist
On 9/16/07, J. Cliff Dyer <[EMAIL PROTECTED]> wrote: > Does anybody know a good solution (preferably in python) for rasterizing > SVG or other vector graphics. > > I'm thinking something like > > vector_image = SVGFile(path_to_image) > raster_image = vector_image.rasterize(format, (width, height),

Re: SVG to raster conversion.

2007-09-17 Thread Laurent Pointal
J. Cliff Dyer a écrit : > Does anybody know a good solution (preferably in python) for rasterizing > SVG or other vector graphics. > > I'm thinking something like > > vector_image = SVGFile(path_to_image) > raster_image = vector_image.rasterize(format, (width, height), dpi) > raster_image.write(o

Re: SVG to raster conversion.

2007-09-16 Thread J. Cliff Dyer
Stefan Behnel wrote: > J. Cliff Dyer wrote: > >> Does anybody know a good solution (preferably in python) for rasterizing >> SVG or other vector graphics. >> >> I'm thinking something like >> >> vector_image = SVGFile(path_to_image) >> raster_image = vector_image.rasterize(format, (width, height

Re: SVG to raster conversion.

2007-09-16 Thread Phil Thompson
On Sunday 16 September 2007, J. Cliff Dyer wrote: > Does anybody know a good solution (preferably in python) for rasterizing > SVG or other vector graphics. > > I'm thinking something like > > vector_image = SVGFile(path_to_image) > raster_image = vector_image.rasterize(format, (width, height), dpi

Re: SVG to raster conversion.

2007-09-16 Thread Stefan Behnel
J. Cliff Dyer wrote: > Does anybody know a good solution (preferably in python) for rasterizing > SVG or other vector graphics. > > I'm thinking something like > > vector_image = SVGFile(path_to_image) > raster_image = vector_image.rasterize(format, (width, height), dpi) > raster_image.write(out_

SVG to raster conversion.

2007-09-16 Thread J. Cliff Dyer
Does anybody know a good solution (preferably in python) for rasterizing SVG or other vector graphics. I'm thinking something like vector_image = SVGFile(path_to_image) raster_image = vector_image.rasterize(format, (width, height), dpi) raster_image.write(out_file) Thanks for any pointers you mi