Image size taken from Flutter Image_Picker plugin is way too big : <p>I want to use auto-focus on the camera, which is available on the image_picker plugin. However, when I call:</p>

<pre><code>var bytes = new File(imagePath);
var enc = await bytes.readAsBytes();
print(enc.length);
</code></pre>

<p>I got: 5121126</p>

<p>which takes at least 10 seconds when I want to encode into json to send to an API server:</p>

<pre><code>var body = json.encode({
      'image' : enc
})
</code></pre>

<p>In contrast, with the camera plugin, my byte array is only 420685, which is 10 times smaller, but it doesn't have the auto-focus feature. </p>

<p>Can I get some advice on how to reduce the size of the byte array from image_picker? Thank you.</p>
