View previous topic :: View next topic |
Author |
Message |
enigma_0Z Guru
Joined: 29 Aug 2004 Posts: 531 Location: Either lurking here or at my forum (see sig)
|
Posted: Mon Feb 14, 2005 1:52 am Post subject: Mass image color-transformation program? |
|
|
I need to change the color on around 20 .svg images... how can I do that?
more specifically, I would like to do the following: sets of operations:
1. change hue, saturation, & luminosity
2. grayscale, invert (not transparent parts though), & luminosity (maybe)
Is there some nice command-line program that can accept wildcards? if there isn't, I can make a small script... _________________ Check out my...
Website: (CURRENTLY DOWN) http://sledgehammer.ath.cx
Forum: (ALSO CURRRENTLY DOWN) http://sledgehammer.ath.cx/forum/ |
|
Back to top |
|
|
d_m Guru
Joined: 12 Jun 2003 Posts: 570 Location: Philadelphia, PA, USA
|
Posted: Mon Feb 14, 2005 7:16 pm Post subject: |
|
|
I haven't used it, but I think that ImagMagick is designed precisely to do this. _________________ The name that can be named is not the eternal name. |
|
Back to top |
|
|
FishB8 l33t
Joined: 17 Mar 2003 Posts: 820
|
Posted: Mon Feb 14, 2005 9:04 pm Post subject: |
|
|
You're going to have a hard time doing this. Were they rasture images of some sort you might be able to do it. SVG is a completely different animal though. The only thing I can think of is if you can get script/program that can parse the XML from the SVG and automate changing perspecified color values found in the file. That is no easy task though. _________________ "...as we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously." -Benjamin Franklin |
|
Back to top |
|
|
enigma_0Z Guru
Joined: 29 Aug 2004 Posts: 531 Location: Either lurking here or at my forum (see sig)
|
Posted: Mon Feb 14, 2005 11:04 pm Post subject: |
|
|
FishB8 wrote: | You're going to have a hard time doing this. Were they rasture images of some sort you might be able to do it. SVG is a completely different animal though. The only thing I can think of is if you can get script/program that can parse the XML from the SVG and automate changing perspecified color values found in the file. That is no easy task though. |
uh...
I've (rather painstakingly) converted them to png...
can I color transform them now? _________________ Check out my...
Website: (CURRENTLY DOWN) http://sledgehammer.ath.cx
Forum: (ALSO CURRRENTLY DOWN) http://sledgehammer.ath.cx/forum/ |
|
Back to top |
|
|
teknomage1 Veteran
Joined: 05 Aug 2003 Posts: 1239 Location: Los Angeles, CA
|
Posted: Tue Feb 15, 2005 1:57 am Post subject: |
|
|
Should be able to use the Image Magick command mogrify -modulate to achieve the results you're looking for. At this point though wouldn't it be simpler to just do it by hand? (Not that I wouldn't be trying to automate it myself) |
|
Back to top |
|
|
|