LWN.net Logo

Fighting image spam

Fighting image spam

Posted Aug 24, 2006 4:02 UTC (Thu) by jwb (guest, #15467)
Parent article: Fighting image spam

A third way is to calculate the frequency of the pixel-to-pixel transitions in the image. Images which contain mostly text will be high frequency, photgraphs and other real images will have normal frequency distribution, and diagrams and such will have mostly the same color. Some code for this recently crossed the SpamAssassin developer mailing list. I tried it out, and with a small modification to work with animated GIFs, it successfully classified 20 instance of spam and legitimate images.


(Log in to post comments)

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds