Here's a site that I've used a few times which has an online image converter. You upload a file which is then converted to a file which can be downloaded. They also sell a more sophisticated product which I have never used, but the online version is free. Just convert whatever format your image is in to the ico type.