Compressor icon indicating copy to clipboard operation
Compressor copied to clipboard

image reduced in size but not in resolution

Open saefbadwan opened this issue 7 years ago • 7 comments

                new Compressor(getContext())
                        .setMaxWidth(1080)
                        .setMaxHeight(1080)
                        .setQuality(84)
                        .setCompressFormat(Bitmap.CompressFormat.JPEG)
                        .setDestinationDirectoryPath(local_paths.getLocal_images() + "/")
                        .compressToFile(new java.io.File(out_put_thumbnail_path), current_timeMsec + ".jpg");

I set the max to 1080 but the image resolution still above 1080 and size get smaller ?

saefbadwan avatar Jul 05 '17 20:07 saefbadwan

same here

alizarei95 avatar Jul 10 '17 08:07 alizarei95

yes i need below 800

xxkfjfredxx avatar Jul 11 '17 21:07 xxkfjfredxx

same

hamzaahmedkhan avatar Jul 15 '17 16:07 hamzaahmedkhan

I have solved this issue in my pull request you can check that out

aftabsikander avatar Sep 05 '17 14:09 aftabsikander

I'm on the same issue here.

gnumarcelo avatar Sep 27 '17 19:09 gnumarcelo

same +1

phoeson avatar Sep 26 '18 04:09 phoeson

same

vanillazz avatar Jan 04 '19 10:01 vanillazz