shijingsh / react-native-customized-image-picker

iOS/Android image picker with support for camera, video compression, multiple images and cropping
245 stars 59 forks source link

Quality of image gallery is low. #25

Closed ducpt2 closed 4 years ago

ducpt2 commented 6 years ago

When i capture image, i try to preview it and i saw the image's quality is low. (Compare with default gallery of deivce). My setting: ImagePicker.openPicker({ multiple: true, maxFiles: 100, maxSize: 100, loadingLabelText: "Đang xử lí ảnh...", smartAlbums: ["UserLibrary"], mediaType: "photo", isCamera: true, compressQuality: 100 }).then()...

Any suggestion?

liukefu2050 commented 6 years ago

The parameter "compressQuality" setting 100 should not be compressed

ducpt2 commented 6 years ago

hi @liukefu2050 , yes i want image not compressed, keep quality. I mean when i click on image and preview it, it is very blur than origin image. Do i setting something wrong?

liukefu2050 commented 6 years ago

no problem, the picture is loaded out through imageLoader and redrawn, what is the cause of the ambiguity, sorry,I am not sure.

ducpt2 commented 6 years ago

ok, thank you @liukefu2050 . I think the libriry resize image to keep performance render or something like that. I hope we can keep quality when do that. :)

prasad456 commented 4 years ago

@liukefu2050 As per read.me compressionQuality should be 0 to 100, if use any other value (except 0 & 100) image was not getting to callback. If I use 0 or 100 able to get image but not compressed? what should I do?

liukefu2050 commented 4 years ago

Are you the rn62 version? There are bugs in this version. A new version will be released later

prasad456 commented 4 years ago

I'm looking forward for the release