Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

[image_picker] original file is leaking by resize. #887

Closed
wants to merge 2 commits into from
Closed

[image_picker] original file is leaking by resize. #887

wants to merge 2 commits into from

Conversation

katout
Copy link

@katout katout commented Nov 5, 2018

I discovered that the application size gets bigger every time I acquire an image with image_picker.

There are three reasons for this.

  1. The quality setting of jpeg is bad. [image_picker] add resize quality #855
  2. When resizing the taken picture, the original picture was not deleted. and The access path to that picture is in the dark...
  3. I forgot to delete the picture acquired from native by flutter.

This pr is solve the second reason.

ps. I think that it need a code to delete the acquired picture in the sample code.

@cyanglaz
Copy link
Contributor

Thank you very much for the contribution!

The same issue seems fixed in #1288
I am close the PR now.

@cyanglaz cyanglaz closed this Mar 12, 2019
@katout katout deleted the file_is_leaking branch March 22, 2019 07:37
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants