biokys / cropimage

Replacement for deprecated official Android crop image function
555 stars 292 forks source link

Getting a banded low quality image. #39

Open pozuelog opened 10 years ago

pozuelog commented 10 years ago

I'm trying to crop camera, but the result is that mi cropped image is being banded and with a low quality.

¿Is this the normal behavior or I'm doing something wrong?

alecio commented 10 years ago

The CropImage class has some internal logic to scale the image down, but it was not flexible, so you couldn't really change the internal behavior. I've forked it (http://github.com/alecio/cropimage), making some improvements and also adding the support for the Intent parameter MAX_IMAGE_SIZE where you can increase to improve the quality of the resulting image. Just use it with caution, bit numbers might lead to Out of Memory.