Dhaval2404 / ImagePicker

📸Image Picker for Android, Pick an image from Gallery or Capture a new image with Camera
Apache License 2.0
1.52k stars 339 forks source link

Image bytes are compressed a lot #310

Open sendhur-muthu opened 1 year ago

sendhur-muthu commented 1 year ago

I used the below code

ImagePicker.with(this)
            .galleryOnly()
            .cropSquare()
            .compress(128)
            .maxResultSize(512, 512)
            .saveDir("${}")
            .start()

When I pick a image with 411kb it is getting compressed to 43kb. Need the compressed image to be around 115 to 128 kb, but the image is getting compressed a lot.