Use antialias for creating the image.
Added support for save as webarchive
Using iText lib
Resize the original image to JPG