SVG Icon Color Changer

Graphic Apps

Source (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
5.0
Available as/for: -
Description:

I saw a complaint in one of the forums that there were too many icon sets being made in blue.

Well, if that icon set is an SVG icon, your problems are solved- or will be, but right now, this program is a little touch and go, but I just banged it out tonight, and haven't really tested it.

At any rate, this program will take an SVG file and a new color (hex triplet without the "#" sign) and restructure the colors in that file around the one you provided. "recolor -h" will provide a usage description.

There are bugs. I know. Give it a shot- but backup your icon files that you're testing it on first.

TODO:
Figure out why, if you run it enough times on the same file, it always results in giving every shape the same color.

Test it against an SVG with a gradient, which I haven't done yet.

Add globs, and add a switch that allows you to work against a directory at once.

tyrerj

16 years ago

Some Crystal SVG (Everaldo's) also lack contrast. This if probably more of a usability problem than the blue color.

You can fix the contrast of PNG files of these with The GIMP by using the "Levels" dialog. If an icon lacks "Value"s 1 - 127, you can proportionately darken all of the "Value"s 128-255 to fix the problem.

Your program could probably also do this with SVG files.

Report

12345678910
Be the first to comment
File (click to download) Version Description PackagetypeArchitectureRelease ChannelDevices Downloads Date Filesize DL OCS-Install MD5SUM
*Needs pling-store or ocs-url to install things
Pling
0 Affiliates
Details
license
version
0.1.0
updated Jul 19 2004
added Jul 19 2004
downloads 24h
0
mediaviews 24h 0
pageviews 24h 4
System Tags app software