Greetings.

In article <[EMAIL PROTECTED]>, mickeydog wrote:

> I have an image in 2 colors (b&w, no greys).
> How do I smooth the edges while maintaing 2 colors?
> 
> For example, suppose the following represents a segment of the image
> (where B = black pixel and W = white pixel)
> 
> WWWBW
> WWWBW
> WBBBW
> WWWBW
> WWWBW
> 
> i would like the image to be like this:
> 
> WWWBW
> WWBBW
> WBBBW
> WWBBW
> WWWBW
> 
> (the 3rd pixel in line 2 and the 3rd pixel in line 4 changed from W to
> B, thus smoothing from edge from line 1, pixel 4 to line 3, pixel 2)

Most filters don't operate on 1-bit images.  Would it be feasible for you
to convert your image to grayscale, use a smoothing filter, and then
converting back to 1-bit?

Regards,
Tristan

-- 
   _
  _V.-o  Tristan Miller [en,(fr,de,ia)]  ><  Space is limited
 / |`-'  -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=  <>  In a haiku, so it's hard
(7_\\    http://www.nothingisreal.com/   ><  To finish what you

_______________________________________________
Gimp-user mailing list
Gimp-user@lists.XCF.Berkeley.EDU
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-user

Reply via email to