Al Bogner on  wrote...
| Assue an b&w image is created like this:
| 
| convert -size 300x100 plasma: -virtual-pixel tile -blur 0x2 -charcoal \ 
| 10 -negate -shave 10x10 +repage -normalize -gamma 0.2 test.jpg
| 
| How can I replace the white colour with blue?
| 
As you have a grey scale image, just multiply the image by blue!

   -fx 'u*Blue'

Black (0) remines Black..   Black*anything ==> Black

This will also take care of any 'grey' pixels which would be ignored
by a direct white to blue color replacement.

For other techniques.. see  Color Modifications
  http://www.cit.gu.edu.au/~anthony/graphics/imagick6/color/


  Anthony Thyssen ( System Programmer )    <[EMAIL PROTECTED]>
 -----------------------------------------------------------------------------
    Murphy said, 'Constants aren't', and Murphy was apparently one
    of the gods of this universe.           -- Rick Cook, "Wizard's bane"
 -----------------------------------------------------------------------------
     Anthony's Home is his Castle     http://www.cit.gu.edu.au/~anthony/
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to