This website has a lot of conversion utilities. The one I'm using right now is the one converting webpages to image files.
http://www.convertapi.com/web-image-api
This API will let you do this task in a very easy way. Try their sample:
<h3>Convert web page and return JPG image as stream</h3>
<a href="http://do.convertapi.com/web2image?curl=http://www.google.com">http://do.convertapi.com/web2image?curl=http://www.google.com</a>
http://jsfiddle.net/tomasr/eGhgT/
ConvertAPI - file conversion to PDF API SDK for Python Ruby Java .NET C# PHP Shell Delphi