mirror of
https://github.com/FossifyOrg/Gallery.git
synced 2024-11-30 08:18:00 +01:00
recognize a new type of panoramic photos
This commit is contained in:
parent
35e92f77e9
commit
75e9093b26
1 changed files with 2 additions and 1 deletions
|
@ -672,7 +672,8 @@ class PhotoFragment : ViewPagerFragment() {
|
||||||
val imageParser = JpegImageParser().getXmpXml(ByteSourceInputStream(inputStream, mMedium.name), HashMap<String, Any>())
|
val imageParser = JpegImageParser().getXmpXml(ByteSourceInputStream(inputStream, mMedium.name), HashMap<String, Any>())
|
||||||
imageParser.contains("GPano:UsePanoramaViewer=\"True\"", true) ||
|
imageParser.contains("GPano:UsePanoramaViewer=\"True\"", true) ||
|
||||||
imageParser.contains("<GPano:UsePanoramaViewer>True</GPano:UsePanoramaViewer>", true) ||
|
imageParser.contains("<GPano:UsePanoramaViewer>True</GPano:UsePanoramaViewer>", true) ||
|
||||||
imageParser.contains("GPano:FullPanoWidthPixels=")
|
imageParser.contains("GPano:FullPanoWidthPixels=") ||
|
||||||
|
imageParser.contains("GPano:ProjectionType>Equirectangular")
|
||||||
} catch (e: Exception) {
|
} catch (e: Exception) {
|
||||||
false
|
false
|
||||||
} catch (e: OutOfMemoryError) {
|
} catch (e: OutOfMemoryError) {
|
||||||
|
|
Loading…
Reference in a new issue