Dhaval2404/ImagePicker

Image bytes are compressed a lot

sendhur-muthu opened this issue · 0 comments

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.