implements JPEG encoding instead of PNG encoding on downloading images, implements option to clear A tag HREF attributes.