flutter_file_picker icon indicating copy to clipboard operation
flutter_file_picker copied to clipboard

Add compression/quality level params

Open SebastienBtr opened this issue 4 years ago • 15 comments

It would be nice to have some params to choose a desired image quality or compression level on picked medias, the same way it is done on image_picker package with the imageQuality param

SebastienBtr avatar May 31 '21 12:05 SebastienBtr

@SebastienBtr you actually have it with allowCompression flag. Have in mind that imageQuality param in the image_picker applies mostly for camera shots which this plugin doesn’t have, hence, it may not have any purpose.

miguelpruivo avatar Jun 03 '21 10:06 miguelpruivo

@miguelpruivo Yes I know there is allowCompression but we have no option to control it and choose how much we want to compress and willing to lose in quality. And imageQuality on image_picker applies really well when selecting images in the gallery, you can easily choose the value that makes sense for your use case. For me, it totally makes sense to have the same feature in this package

SebastienBtr avatar Jun 25 '21 11:06 SebastienBtr

@miguelpruivo This feature is really wanted specially when we pick and upload an image to the web, it will reduce the image size without loosing the quality and also reduce the upload time.

dernoun avatar Jul 29 '21 11:07 dernoun

@miguelpruivo I believe this issue should not be closed

SebastienBtr avatar Sep 27 '21 15:09 SebastienBtr

This issue is stale because it has been open for 14 days with no activity.

github-actions[bot] avatar Nov 11 '21 01:11 github-actions[bot]

This issue was closed because it has been inactive for 14 days since being marked as stale.

github-actions[bot] avatar Nov 26 '21 01:11 github-actions[bot]

compression control is needed guys please (at least for images from Gallery)

eldarkk avatar Mar 15 '22 11:03 eldarkk

Sorry, I don't have any ETA for this as I've been a bit busy lately. I'll take a look whenever I can.

miguelpruivo avatar Mar 15 '22 12:03 miguelpruivo

Hello All. I just wanted to see if there was any movement on this? Unfortunately I don't know how to help but adding this is desperately needed. TYIA

riveraj33 avatar Apr 09 '22 22:04 riveraj33

me too. I wanted that feature ;)

keanallen avatar Jun 13 '22 03:06 keanallen

Yes this is needed very much

skully-coder avatar Sep 13 '22 09:09 skully-coder

any update on this ?

harshitha0193 avatar Apr 12 '23 12:04 harshitha0193

@miguelpruivo I'm working on the PR for this, but I couldn't find any usage of compression on the Android side, there is for iOS though. Am I missing something or it was never implemented on the Android Side.

Thanks

Umar1312 avatar Sep 22 '23 19:09 Umar1312

Hi @Umar1312 yes it’s only in the iOS side.

miguelpruivo avatar Sep 22 '23 19:09 miguelpruivo

https://github.com/miguelpruivo/flutter_file_picker/pull/1426 @miguelpruivo

Umar1312 avatar Jan 01 '24 18:01 Umar1312

Merged. Closed. Thanks!

miguelpruivo avatar Mar 20 '24 11:03 miguelpruivo