Mediaplugin: [Feature Request] Max Width/Height for pictures

Created on 11 Oct 2016  路  4Comments  路  Source: jamesmontemagno/MediaPlugin

Actualliy we can only specify a percent of the original image size we want. It would be great to have the ability to set a max Width and Max Height to have an image size independant of device camera resolution.

PS: Sory for my english but I think you will understand my request ;)

Thanks

feature

Most helpful comment

+1 This would be a useful feature!

All 4 comments

Also, specify the image size as the max of file size (in bytes), or max width/max height

We have somewhat the same requirements for our apps, that is setting a max height or width of the resulting image. I forked the repo and had a go at it. It seems to work rather well on iOS and Droid, but currently not on UWP. I'm not ready to do a pull request yet, but you can have a look at the diff, if that helps.
Diff

+1 This would be a useful feature!

Is this too difficult to implement this feature? PhotoSize in percentage how this has been implemented in this plugin is totally useless when all the phones have different megapixel cameras.

Was this page helpful?
0 / 5 - 0 ratings