Source i (link to git-repo or to original if based on someone elses unmodified work):

Add the source-code for this project on opencode.net

0
Become a Fan
5.0

Description:
This was made because, well, I couldn't find anything like it out there. Feel free to comment and stuff!
--------------------------
makeiconfolder.sh version 0.1
Makes icons out of a folder of properly sorted SVG icons. I want to make this GUI, but haven't been arsed thus far Ought to be fairly simple (and potentially a lot faster, too)
--------------------------
This is svg2icons version 0.1
by Dan Leinir Turthra Jensen ( admin (at) leinir.dk )
The script is released under the GPL ( http://www.gnu.org/copyleft/ )

It is a script designed to perform the simple but tedious task of converting images from SVG (or any arbitrary image format supported by ImageMagic's convert) into a 960x960 PNG and then scale the image down, placing them in the correct directory structure for use as a KDE icon set.

Usage:
svg2icons [-s] filename section [ext]
svg2icons -h

Where...
filename is the filename minus extension (no path) section is the section name (can be any of actions, apps, devices, filesystems and mimetypes (plus any other, but these are the basic KDE sections))
ext (optional) is the file extension of the original image. If this is not present svg2icons will assume it is svg. Note that this is case sensitive
-s (optional) means that the original image is in the correct directory structure (i.e. for an icon called stop in the subfolder scaled/actions under the working folder in stead of at the root of it)
Last changelog:

Version 0.2
+ Same old svg2icons.sh
+ Added the makeiconfolder.sh script (look in the script to see what it does, it's what I've been using for the Reinhardt icon set)
First version: 0.1


Ratings & Comments

4 Comments

vitanova

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 (this) svg2png4kde: http://www.kde-look.org/content/show.php?content=10055

leinir

I know I promised some people to post this, oh, a few months ago :P Well, at long last, here you go :P

illogic-al

len... you've done it again :) actually i haven't used this yet. I have no idea where to get svg icons (even crystalsvg is in png form).

leinir

There must be some, please throw them this way ;) Thanks for the good votes :)

Pling
0 Affiliates
Details
license
version 0.2
updated
added
downloads 24h 0
mediaviews 24h 0
pageviews 24h 0

More Icon Sub-Sets from leinir:

The Reinhardt Icon Set
leinir
last update date: 19 years ago

Score 5.7

amaroK Super-sonic Wolf
leinir
last update date: 20 years ago

Score 5.0

Other Icon Sub-Sets:

Gajim Ubuntu Iconset
draco
last update date: 18 years ago

Score 5.0

MyOxygen-Shell
elav
last update date: 11 years ago

Score 5.3

Kubuntu Cloud Folder
DanteAshton
last update date: 15 years ago

Score 5.7

Mozilla Icons for BC Tango
morph027
last update date: 18 years ago

Score 5.7

Chricons
chriscenery
last update date: 17 years ago

Score 5.0

Mimetype icons for LibreOffice
Magog64
last update date: 13 years ago

Score 5.0



System Tags