List Info

Thread: converting SVG to PNG




converting SVG to PNG
user name
2007-01-30 04:03:16
Hello,

I've already converted some schemas with Inkscape from SVG
to PNG. This 
brings a good quality (colors are respected and zoom level
is adjustable).
But this is manual. So I want to do it with a commande line
tool. I've 
used the convert (16bits) feature of ImageMagick, but I've
not successed 
to have a good results :
- colors are modifieds
- zoom feature creates blurs effects. The image is converted
to PNG and 
seems to zoom after... I've not a really good resolutions.

So can somebody help me and provide me a good commande line
converting 
method ?

Thanks a lot.
_______________________________________________
Magick-users mailing list
Magick-usersimagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users

Re: converting SVG to PNG
user name
2007-01-30 19:47:44
FJ on  wrote...
| Hello,
| 
| I've already converted some schemas with Inkscape from SVG
to PNG. This 
| brings a good quality (colors are respected and zoom level
is adjustable).
| But this is manual. So I want to do it with a commande
line tool. I've 
| used the convert (16bits) feature of ImageMagick, but I've
not successed 
| to have a good results :
| - colors are modifieds
| - zoom feature creates blurs effects. The image is
converted to PNG and 
| seems to zoom after... I've not a really good
resolutions.
| 
| So can somebody help me and provide me a good commande
line converting 
| method ?
| 

To resize SVG (vector) to PNG (raster) images adjust the
-density
setting before reading the SVG file, so as to generate more
'pixels per
inch'.

However the SVG handling in IM is not complete, though
getting better
and better. So if it is available when you compile/install
IM, it will
try to use the more complete  "rsvg" library as a
delegate to do the
conversion.

Home page
     http://librsvg.source
forge.net/
If you are running linux it is probably already on your
system.

This package also allows you to do more direct commandline
conversions
of SVG to PNG, and includes density/resolution
specification.


  Anthony Thyssen ( System Programmer )    <A.Thyssengriffith.edu.au>
 -----------------------------------------------------------
------------------
    Science is based on not knowing everything, but it does
know somethings.
                                 -- Terry Pratchett,
``Science of Diskworld''
 -----------------------------------------------------------
------------------
     Anthony's Home is his Castle     http://www.cit.gu.
edu.au/~anthony/
_______________________________________________
Magick-users mailing list
Magick-usersimagemagick.org
http://studio.imagemagick.org/mailman/listinfo/magick
-users

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )