React-native-image-crop-picker: Picker Always converting photos to jpeg

Created on 4 Jun 2019  ·  3Comments  ·  Source: ivpusic/react-native-image-crop-picker

Version

Tell us which versions you are using:

  • react-native-image-crop-picker v0.21.3
  • react-native v0.59.4

Platform

Tell us to which platform this issue is related

iOS
Android

Expected behaviour

The picker maintain format of the file

Actual behaviour

When an user select a png image the file is converted to jpeg always

Steps to reproduce

  1. Open The gallery select png photo

  2. Response object if you get the mime always says jpeg

Most helpful comment

currently this is expected behaviour because temporary files are created for selected images.

Is there any solution?

All 3 comments

currently this is expected behaviour because temporary files are created for selected images.

currently this is expected behaviour because temporary files are created for selected images.

Is there any solution?

any solution on this?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

sergiulucaci picture sergiulucaci  ·  3Comments

leelandclay picture leelandclay  ·  3Comments

equesteo picture equesteo  ·  3Comments

xuchao321 picture xuchao321  ·  3Comments

manojshrimalla picture manojshrimalla  ·  3Comments