Tuesday 23 July 2019

Image compression in Java for ADF/OAF/EBS application

There are multiple approaches to achieve this purpose as listed below:

1. Graphics2D - Uploaded File to File compression

2. Graphics2D - BlobDomain to BlobDomain

3. ImageWriter - Uploaded File to File

Of these method, I prefer Graphics2D for image compression through java better image quality and control over final image size. Using ImageWriter, I got compression to a percentage of original size but it was not exact and even the image quality was deteriorating.

No comments:

Post a Comment