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
Score 50.0%
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

15 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
product-maker Count: 4 Rating: 5.0
File (click to download) Version Description PackagetypeArchitectureRelease Channel Downloads Date Filesize DL OCS-Install MD5SUM
*Needs ocs-url or ocs-store to install things
Pling
Details
license
version
0.1.0
updated Jul 19 2004
added Jul 19 2004
downloads 24h
0
page views 24h 3
System Tags app software