mirror of
https://github.com/SimpleMobileTools/Simple-Gallery.git
synced 2025-02-16 20:10:37 +01:00
recognize a new type of panoramic photos
This commit is contained in:
parent
35e92f77e9
commit
75e9093b26
@ -672,7 +672,8 @@ class PhotoFragment : ViewPagerFragment() {
|
||||
val imageParser = JpegImageParser().getXmpXml(ByteSourceInputStream(inputStream, mMedium.name), HashMap<String, Any>())
|
||||
imageParser.contains("GPano:UsePanoramaViewer=\"True\"", 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) {
|
||||
false
|
||||
} catch (e: OutOfMemoryError) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user