Open
Description
As per given documentation, I can see that we have image function as below.
IVSize customRes=new IVSize();
customRes.setWidth(400);
customRes.setHeight(300);
compressor.resizeImageWithCustomRes(file.getBytes(),ImageFormats.JPEG,customRes);
But while implementing I found that we can have requirement like resize the image, and also need to optimize it at some extent.
for eg. compress image to 80% or 50% of the original image size.
So we need less storage space to save that image, because as of now we can HD images which can be compressed as per business usecase.
@SrikanthReddyyy Can you please confirm on this, if I can start to implement this feature under IVCompressor library.
Where as I will create new function which will accept targetWidth and targetHeight and Compression percentage in form on float like 0.8 for 80% and 0.5 as 50%.
I will be happy to contribute you as it's helped me a lot for video optimization.
Metadata
Metadata
Assignees
Labels
No labels