If you're talking about web page thumbnails (not sure about the OP but
some of the follow-ups are), then you may be able to use this:

http://cutycapt.sourceforge.net/

-- Mark.