How do I create a 40x40 pixel monochrome mage for KMail?

Chuck Swiger cswiger at mac.com
Fri Jan 29 18:03:02 UTC 2010


On Jan 29, 2010, at 9:41 AM, Steven Friedrich wrote:
> I've noticed that several apps support images of the user, such as KMail, 
> which supports a 40x40 pixel jpeg.
> 
> I have a webcam, but it won't take  a monochrome picture and it doesn't 
> snapshot all the resolutions that it can display in. In particular, I tried 
> the two lowest and the lowest, sqcif, isn't supported by my webcam and qsif 
> seg faults. Those would have been 128x96 and 160x120.

Take a bigger image, convert it to greyscale, resize it down to the size you want.  You could most easily do this with Photoshop, IrfanView, GIMP, ImageMagick, etc, but something like graphics/netpbm will work even on the FreeBSD command line....

Regards,
-- 
-Chuck



More information about the freebsd-questions mailing list