GP1628
asked on
BLUR all of an image EXCEPT white 255,255,255 (ImageMagick?)
OK Im trying to blur an image but leave a color untouched. Actually I would like to leave 3 colors untouched but just one would work.
Alternativly, an example of setting a mask?
Alternatively an example of copying all the white pixels to a new image so I can merge tham back opague after the blurring?
Preferences are:
linux, command-line, imagemagick or gimp script,
starting image is a targa but conversions are simple so any format will do
colors are 255/255/255, 195/87/44, 44/135/195
This works in GIMP but I would rather batch process it.....
load .tga and open layers
for 3 colors
rclick image, select-> by color, choose color, Shft-Ctrl-L
go to layers, clik "keep transp", clik "new layer"
next color
after getting 3 transparent floating layers, select blur
Ctrl-M to merge all layers then save
I will increase the points if all of my wishlist is met.
My next option seems as though it might be to post this into the programmers territory
Alternativly, an example of setting a mask?
Alternatively an example of copying all the white pixels to a new image so I can merge tham back opague after the blurring?
Preferences are:
linux, command-line, imagemagick or gimp script,
starting image is a targa but conversions are simple so any format will do
colors are 255/255/255, 195/87/44, 44/135/195
This works in GIMP but I would rather batch process it.....
load .tga and open layers
for 3 colors
rclick image, select-> by color, choose color, Shft-Ctrl-L
go to layers, clik "keep transp", clik "new layer"
next color
after getting 3 transparent floating layers, select blur
Ctrl-M to merge all layers then save
I will increase the points if all of my wishlist is met.
My next option seems as though it might be to post this into the programmers territory
I could tell you how to do it in Photoshop, but not in the program youre after.
Try doing it in photoshop. Can be done very easily in photoshop.
1. Select the colors you want to leave untouched.
2. Copy and paste in a new layer.
3. Apply blur to the original layer, using Filter > blur > gaussian blur.
1. Select the colors you want to leave untouched.
2. Copy and paste in a new layer.
3. Apply blur to the original layer, using Filter > blur > gaussian blur.
ASKER
Actually I have a way to do it in GIMP which has some advantages on PhotoShop.
Im afraid I dont see where PS offers any advantages for what I want to do.
Im afraid I dont see where PS offers any advantages for what I want to do.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
rats I didnt get in in time.
That answer didnt really help me since the server does not run any GUI environment.
I would still rather have a command-line command for it.
But thats OK. I just recently managed to get the original map-generation program updated to nearly the same effect.
That answer didnt really help me since the server does not run any GUI environment.
I would still rather have a command-line command for it.
But thats OK. I just recently managed to get the original map-generation program updated to nearly the same effect.