title: Does CameraKit recompress images?
body: <p>There is a <code>byte[]</code> that seems to be an out-of-camera JPEG in <code>CameraView@captureImage</code> (it has EXIF, and of the same size as an images captured by the default camera). That <code>byte[]</code> is then passed to a <code>PostProcessor</code>, which outputs a JPEG that is almost 3 times larger than the initial <code>byte[]</code> on my device (Mi 5 MIUI 9.5.3.0). Why does CameraKit recompress the image? Can it be avoided? The final function that converts the image is a native method, I can't debug it.</p>
  
  <p>I admit that this could be a device-specific problem, as I read somewhere that the DNG "path" of the Mi 5 is "broken", maybe the normal output is "broken" too. In that case, what is the <code>byte[]</code> that will be passed to <code>PostProcessor</code>, uncompressed bitmap or even DNG (unlikely)? I want to at least know this piece of information :)</p>
  
  <p>Here's the link to the 2 captured images. The larger (sample...) one is the CameraKit output, the smaller one (test.jpg) is the dump of the initial <code>byte[]</code> right before it is passed into a <code>PostProcessor</code>.
  <a href="https://drive.google.com/open?id=1NOGTl4cMr8zfDM5C5qplf0KASd5QOlNh" rel="nofollow noreferrer">Images</a></p>
  
  <p>Thanks for your reply!</p>
  
  <p>PS: here is the confusing block of code</p>
  
  <p><a href="https://i.stack.imgur.com/t7RkR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/t7RkR.png" alt="&lt;code&gt;byte[]&lt;/code&gt; JPEG is passed into a &lt;code&gt;PostProcessor&lt;/code&gt;"></a></p>
  
  <p>Furthermore, the final JPEG output of CameraKit (the larger file) lacks EXIF.</p>