Essentials icon indicating copy to clipboard operation
Essentials copied to clipboard

Add Compression features to MediaPicker (similar to MediaPlugin)

Open luis-cortina opened this issue 5 years ago • 13 comments

Is implementing this in the roadmap for Media Picker or do we have to code on our own?

https://github.com/jamesmontemagno/MediaPlugin#compressing-photos

luis-cortina avatar Nov 23 '20 16:11 luis-cortina

Definitely a great feature add to the API

lazmeister avatar Dec 02 '20 21:12 lazmeister

This feature would be really great!

steven62f avatar Aug 07 '21 16:08 steven62f

+1

ramit-2343113 avatar Aug 13 '21 13:08 ramit-2343113

any update @jamesmontemagno ? :) we really need compression feature to switch to essentials

mina5500 avatar Sep 30 '21 08:09 mina5500

Is there an update/workaround for this?

rezamohamed avatar Nov 10 '21 18:11 rezamohamed

Any update on this? I can't use MediaPicker the way it is. Thanks.

jmbegley1968 avatar Jan 13 '22 19:01 jmbegley1968

Any update on this? I can't use MediaPicker the way it is. Thanks.

Don't hold your breathe. You will just have to use the older plugins or switch to another framework as we did.

lazmeister avatar Jan 13 '22 19:01 lazmeister

+1

tiagotas avatar Jun 06 '22 20:06 tiagotas

+1

RajnikantP23 avatar Sep 07 '22 05:09 RajnikantP23

is there any work on this?

LennoxP90 avatar Nov 22 '22 17:11 LennoxP90

We are in the process of migrating old packages to Xamarin.Essentials as a step to migrate to Maui and its Maui.Essentials package. This is required feature for our migration from the MediaPlugin to Xamarin.Essentials. Is there any plan on this getting implemented?

nrallakis avatar Sep 21 '23 06:09 nrallakis

Is there any plan on this getting implemented?

you're probably better off asking on the maui repo... as it stands you will have to write your own CapturePhotoAsync method on iOS, which is what we've done in our current xamarin forms app.

MitchBomcanhao avatar Sep 27 '23 09:09 MitchBomcanhao

@nrallakis You can also use MediaPlugin in MAUI starting with 6.x. First non beta version 6.0.2 is now available. Your camera code from Xamarin will pretty much work as-is.

Although MediaPlugin seems to be a semi-offical package, it just baffles me that there is no compression either in Xamarin.Essentials or Communitytoolkit.MAUI camera packages. For most people this just means it's not an option and the camera utility may as well not exist.

Support for Xamarin is ending May 2024 so I'm sure you'll never see it implemented in Essentials. As for MAUI, I don't know how MS can expect this to become a major X-Platform player the way things are going. Talking of which.. I just updated to .NET8 which I thought would fix some issues in our own migration. It fixed 1 issue and introduced 7 more :(

jmbegley1968 avatar Sep 27 '23 11:09 jmbegley1968