Warning: session_start(): open(/tmp/sess_pnif6vr7vaturdr43mcts3gjo6, O_RDWR) failed: No space left on device (28) in /www/H01/htdocs/lib/base/lib_base.php on line 280
SVG 2 PNG 4 KDE Script openDesktop.org
-
 KDE-Apps.org Applications for the KDE-Desktop 
 GTK-Apps.org Applications using the GTK Toolkit 
 GnomeFiles.org Applications for GNOME 
 MeeGo-Central.org Applications for MeeGo 
 CLI-Apps.org Command Line Applications 
 Qt-Apps.org Free Qt Applications 
 Qt-Prop.org Proprietary Qt Applications 
 Maemo-Apps.org Applications for the Maemo Plattform 
 Java-Apps.org Free Java Applications 
 eyeOS-Apps.org Free eyeOS Applications 
 Wine-Apps.org Wine Applications 
 Server-Apps.org Server Applications 
 apps.ownCloud.com ownCloud Applications 
--
-
 KDE-Look.org Artwork for the KDE-Desktop 
 GNOME-Look.org Artwork for the GNOME-Desktop 
 Xfce-Look.org Artwork for the Xfce-Desktop 
 Box-Look.org Artwork for your Windowmanager 
 E17-Stuff.org Artwork for Enlightenment 
 Beryl-Themes.org Artwork for the Beryl Windowmanager 
 Compiz-Themes.org Artwork for the Compiz Windowmanager 
 EDE-Look.org Themes for your EDE Desktop 
--
-
 Debian-Art.org Stuff for Debian 
 Gentoo-Art.org Artwork for Gentoo Linux 
 SUSE-Art.org Artwork for openSUSE 
 Ubuntu-Art.org Artwork for Ubuntu 
 Kubuntu-Art.org Artwork for Kubuntu 
 LinuxMint-Art.org Artwork for Linux Mint 
 Arch-Stuff.org Art And Stuff for Arch Linux 
 Frugalware-Art.org Themes for Frugalware 
 Fedora-Art.org Artwork for Fedora Linux 
 Mandriva-Art.org Artwork for Mandriva Linux 
--
-
 KDE-Files.org Files for KDE Applications 
 OpenTemplate.org Documents for OpenOffice.org
 GIMPStuff.org Files for GIMP
 InkscapeStuff.org Files for Inkscape
 ScribusStuff.org Files for Scribus
 BlenderStuff.org Textures and Objects for Blender
 VLC-Addons.org Themes and Extensions for VLC
--
-
 KDE-Help.org Support for your KDE Desktop 
 GNOME-Help.org Support for your GNOME Desktop 
 Xfce-Help.org Support for your Xfce Desktop 
--
openDesktop.orgopenDesktop.org:   Applications   Artwork   Linux Distributions   Documents    Linux42.org    OpenSkillz.com   
 
Home
Apps
Artwork
News
Groups
Knowledge
Events
Forum
People
Jobs
Register
Login


-
- Content .- Fans (1) . 

SVG 2 PNG 4 KDE Script

  

KDE Icons

Score 46%
Link:  Link
Downloads:  1834
Submitted:  Jan 11 2004
Updated:  Jun 12 2005

Description:

Hi everyone!

I made a little script that can render .svg and .svgz files into png files in the sizes 16x16, 22x22, 32x32, 48x48, 64x64 and 128x128. These are the sizes kde uses for icons. The script uses sodopodi. If you have a lot of .svg and .svgz files, this script can render them automatically to PNGs (if sodipodi is able to open them). A read me is included.

The test suite will render the png icons, as the basic script. It will also
copy the 32 icons to 16x16-1, -2, -3 and 22-1, -2, -3 directories, sharpen
them at different levels, scale them, and sharpen them again at different
levels. For an overview take a look at the svg2png-view.html. The levels of sharpening can be set in the svf2png4kde-suite script. This way you can quickly check out whether your smallest icons can use sharpening.

More scripts at the website:
http://home.uwnet.nl/~vita/linux/index.html




Changelog:

version 1.1: now with viewerscript.

version 1.1.2:
made the preview script much more practical.
added a Test Suite.

version 1.3
- Make Crystal CVS. This script takes the crystal icons with the long filenames like crsc-mime-kate.svgz, removes the prefix and puts them in directories like a theme.
- Color Changer. This script changes the colors of svg files, working on the source text.
- Stroke Width Changer. Like the color changer, this script changes the width of the stroke.
- some bugs solved
- support for inkscape
version 1.4 run from any dir in path.




LicenseGPL
Send to a friend
Subscribe
Other  Content  from vitanova
Report inappropriate content



-
.

 OK...

 
 by Doches on: Jan 11 2004
 
Score 50%

...This is awesome. And really (really, really, really...) useful! Thanks!


Reply to this

-
.

 Hmm...

 
 by leinir on: Jan 11 2004
 
Score 50%
leinirleinir
KDE/Amarok, KDE/Gluon
editor
Home

I know programmers have a funny idea that we wish to re-invent the wheel, but still ;) That said, nicely done, there :) I would say, though, that the way you've done this script does not give you very nice quality icons. When you tell Sodipodi to render icons to a specific size, they come out at a rather low quality. If you in stead render the icon to a large size, say 960 by 960 (the largest size icon supported by Mac OS X, currently the largest icons on the market afaik), and then scale them down from there, the quality is much better. This is the technique I applied in my scripts, svg2icons.sh and makeiconfolder.sh (just posted the update, feel free to look'n'steal ;) ).


..Dan // Leinir
http://www.leinir.dk/

Reply to this

-

 Re: Hmm...

 
 by vitanova on: Jan 12 2004
 
Score 50%

I didn't know your script existed. I will take a look at it.


Reply to this

-

 Re: Hmm...

 
 by vitanova on: Jan 13 2004
 
Score 50%

"does not give you very nice quality icons"

A bit to bold for my liking. The icons your script produces are more smooth, mine are sharper. It is a matter of taste.


Reply to this

-
.

 Re: Re: Hmm...

 
 by leinir on: Jan 13 2004
 
Score 50%
leinirleinir
KDE/Amarok, KDE/Gluon
editor
Home

Aah yes, this is true :) Sorry, I only tested the solution with a Crystal-like bunch of icons that I was working on before Reinhardt, and Reinhardt itself :) Thanks :) I'm currently working on a program that will do this (C++ with GUI), and I will be sure to include an option to choose between the two methods :)


..Dan // Leinir
http://www.leinir.dk/

Reply to this

-
.

 Thanx allot

 
 by systemx on: Jan 12 2004
 
Score 50%

This really saved me allot of time on the Full PNG release of Wasp... Thanx!


Reply to this

-

 2 scripts

 
 by vitanova on: Jan 13 2004
 
Score 50%

There is also another script for this. The svgtoicon script makes smoother icons, the icons the svg2png4kde script makes are sharper. It's a matter of taste. Or may be you like the big ones to be smooth, the smaller ones sharp.

svgtoicons:
http://www.kde-look.org/content/show.php?content=6913

svg2png4kde (this)


Reply to this

-

 a comparision

 
 by mimecine on: Jan 16 2004
 
Score 50%

I'd love to see the two scripts produce three or four icons from the same sources and have them posted somewhere so one can see the difference.

Marco


Reply to this

-

 Re: a comparision

 
 by vitanova on: Apr 5 2004
 
Score 50%

I do not think that will be useful. Each icon set is different. The way Leinir made his script works probably best for his own work, mine works best for my work. Try it for yourself!


Reply to this

-
.

 SVG to PNG

 
 by tyrerj on: May 6 2004
 
Score 50%
tyrerjtyrerj
JRT Engineering
Home

Since various scripts are being discussed, I thought that I might mention that The GIMP 2.0 will import SVG icons and render them to pix maps.


JRT
Reply to this

Add commentBack




-



 
 
 Who we are
Contact
More about us
Frequently Asked Questions
Register
Twitter
Blog
Explore
Apps
Artwork
Jobs
Knowledge
Events
People
Updates on identi.ca
Updates on Twitter
Content RSS   
Events RSS   

Participate
Groups
Forum
Add Content
Public API
About openDesktop.org
Legal Notice
Spreadshirt Shop
CafePress Shop
Advertising
Sponsor us
Report Abuse
 

Copyright 2007-2016 openDesktop.org Team  
All rights reserved. openDesktop.org is not liable for any content or goods on this site.
All contributors are responsible for the lawfulness of their uploads.
openDesktop is a trademark of the openDesktop.org Team