coomar2841 / image-chooser-library

An Easy Image/Video Chooser Library for your Android Apps
646 stars 193 forks source link

Image compression #4

Closed loop closed 11 years ago

loop commented 11 years ago

Is there a way to compress images to say a small, medium and large size using this library?

If not, is there a specific place this can be implemented? (I will send a pull request if there is).

coomar2841 commented 11 years ago

What exactly do you mean by compress? The ChosenImage class already returns 3 sizes of the images. Do you mean to say, compressing the file size without reducing the image size?

loop commented 11 years ago

Sorry yes, compression the file size without changing the image dimensions.

coomar2841 commented 11 years ago

That feature is not there.

loop commented 11 years ago

What would be the place (class) to implement this feature in your library?

coomar2841 commented 11 years ago

Well, ideally, this should be optional. So, there should be a new constructor in the ImageChooserManager, and from there on, if this option would be set, the ImageProcessorThread class should generate the compressed files.