breautek commented on issue #885:
URL: 
https://github.com/apache/cordova-plugin-camera/issues/885#issuecomment-2063763602

   I don't believe this is something that we can support because I don't think 
there is a underlying standard API.
   
   Camera features comes from the underlying camera app. How android (and iOS) 
works is by delegating a camera task by opening up the underlying camera app 
for the user to snap a picture. This is for a number of reasons which I won't 
discuss here, just know that features provided are based on the camera app 
which can be chosen by the user. Speaking more on android than iOS (due to my 
own personal knowledge), there are Intent options to request images or video 
specifically, as well as desired quality or format. There is no intent option 
to request specifically a panoramic image.
   
   Note that even if the camera app does support paranomic images, it may 
choose not expose that feature in it's intent activity used to serve other 
applications. **But if it did, I suspect that the user could create a panoramic 
image without any code changes in the cordova plugin.**
   
   At the end of the day though, panoramic image support depends on the 
installed camera application that the user has on their device. Not all devices 
may have a default camera app that supports panaromic, or even if a device's 
default camera app does support it, the user may choose to use an alternate 
camera app that doesn't actually support panoramic images. For this reason, 
I'll be closing this feature request. We may re-evaluate if there becomes a 
standardized way to request/enable panoramic images in the intent system.
   
   If panoramic images support is critical for your app, then natively using 
the camera APIs directly and implementing panoramic support directly would be a 
far more reliable solution because you remove the dependency of your user 
having a supporting camera application. This means you'll need to find a plugin 
or create one yourself that implements the panoramic feature using the camera 
APIs rather than using the intent system (like this plugin does).
   
   Kind regards


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org
For additional commands, e-mail: issues-h...@cordova.apache.org

Reply via email to