coomar2841 / android-multipicker-library

Android Multipicker Library
Apache License 2.0
439 stars 107 forks source link

picture saves 3 times in app folder #105

Open aliraza9 opened 7 years ago

aliraza9 commented 7 years ago

private void processImages(List uris) { ImageProcessorThread thread = new ImageProcessorThread(this.getContext(), this.getImageObjects(uris), this.cacheLocation); if(this.maxWidth != -1 && this.maxHeight != -1) { thread.setOutputImageDimensions(this.maxWidth, this.maxHeight); }

    thread.setRequestId(this.requestId);
    thread.setShouldGenerateThumbnails(this.generateThumbnails); // need to set this flag to false.
    thread.setShouldGenerateMetadata(this.generateMetadata);
    thread.setImagePickerCallback(this.callback);
    thread.start();
}

how can I set setShouldGenerateThumbnails() flag to false in "ImagePickerImpl" class