Java API to create snaphots or thumbnails of webpage