zesage / panorama

Panorama - Flutter Widget
Apache License 2.0
114 stars 71 forks source link

New Feature: Obtaining Panorama images from Camera from both iOS and Android #15

Open ghost opened 3 years ago

ghost commented 3 years ago

Is there a way to get Panorama images from the phone Camera using your package or by any other means (if so, please provide any examples)?

If not, I would appreciate if you can implement it as a feature!

zesage commented 3 years ago

Sorry! I don't know how to implement it. The way I know is to use Google Camera to capture the panorama images.

deckerst commented 3 years ago

On Android, as far as I know, the Media Store does not report whether images are panoramas. The only way to identify panoramas is to check yourself the metadata for each image. The interesting metadata is in XMP and you can access it with packages like ExifInterface or metadata-extractor.

The most common panorama metadata out there is in the GPano namespace (it's the one used by Google Camera). But I encountered some others, like the pmtm namespace from Photomatix. For actual code, namespace, etc. check out this and that.

As for iOS, maybe there's an easier solution, I don't know.