PIL and antialiasing problem
Will McGugan
news at NOwillmcguganSPAM.com
Thu Dec 2 06:25:35 EST 2004
Laszlo Zsolt Nagy wrote:
>
> I tried to posterize or darken the images but I could not find a good
> solution. (I also tried to count the number of colors in the image and
> use this info.) Can you suggest an image filter and/or method that creates
> darker black lines from the original thin lines? Also it would be
> great to have it working with those colorful smudged images. It will
> be terribly slow to separate them by hand. There are almost 15000 of
> them...
>
Try running ImageFilter.MinFilter on the image before you thumbnail it.
This should make dark lines thicker.
HTH,
Will McGugan
More information about the Python-list
mailing list