natysoz / expo-images-picker

Multiple Asset Photos Videos selecting package for Expo SDK
MIT License
95 stars 35 forks source link

Add mediaType to the result of resized image #33

Closed jte0711 closed 2 years ago

jte0711 commented 3 years ago

hey guys, great work on the library.

The reason is whenever we passed the widgetResize, it will only return width, height, uri, and possibly base64 if user set it to true and all of the initial data from the asset such as mediaType, filename, etc are omitted from the response. It would be great to include some of them which still relevant to the data to the resizedImage response.

I already have code ready, if you guys okay with it I can create a PR for it.

natysoz commented 3 years ago

sure create a pr and lets discuss it

jte0711 commented 3 years ago

@natysoz great! I just created it, it's #34

natysoz commented 2 years ago

ok merging