ionic-team / capacitor-plugins

Official plugins for Capacitor ⚡️
529 stars 595 forks source link

feat: HEIC format on pickImages / or files selection #778

Open stephan-fischer opened 2 years ago

stephan-fischer commented 2 years ago

Feature Request

Description

I want to receive instead of a jpeg file the original file like HEIC files. Or the Camera Lib has another function like getFiles to receive files, like moves, images, heic etc. from gallery.

Platform(s)

ios, android

Preferred Solution

const handler = await Camera.pickImages({
    heic: true
 });

// or

const handler = await Camera.pickFiles({
    types: ["movie", "image"],
   forceJPEG: false
 });
codeconsole commented 2 years ago

Video selection would be nice.

noGreg commented 5 months ago

Any solution on this guys? I want to be able to pick HEIC/HEIF images from Camera.getPhoto or Camera.pickImages, else I will have to replace method 😢