Re: Strange `IMG_E` files from an iPhone

Marcus Meissner <[email protected]> Sat, 30 Jan 2021 08:39:37 +0100
Newsgroups gmane.comp.multimedia.gphoto.user
Message-ID <YBUNOU3fqDObjx/[email protected]>
On Fri, Jan 29, 2021 at 10:28:17AM -0800, Andrew Kvalheim wrote:
> I've run across some apparently corrupted image files and I'm not sure
> if it's caused by gphoto or just a quirk of the iPhone.
> 
> File #373 has extension `.HEIC` but type `image/jpeg`:
> 
>     $ gphoto2 --list-files | grep 0679
>     #216   IMG_0679.AAE               rd     1 KB application/x-unknown
>     #217   IMG_0679.HEIC              rd  3481 KB 3024x4032 image/jpeg
>     #218   IMG_0679.MOV               rd  2165 KB video/quicktime
>     #373   IMG_E0679.HEIC             rd  3449 KB 3024x4032 image/jpeg
>     #374   IMG_E0679.MOV              rd  2165 KB video/quicktime
> 
> It does appear to be a JPEG—

It should not be detected as image/jpeg ... I would need to see the part
of the debugtrace where this file is mentioned if there is a bug there.

gphoto2 -L --debug --debug-logfile=listfiles.txt

This kind of block from the listfiles.txt for IMG_E0679.HEIC:

1.021064 debug_objectinfo            (2): ObjectInfo for '20190815_090641_edited.jpg':
1.021076 debug_objectinfo            (2):   Object ID: 0x00000032
1.021085 debug_objectinfo            (2):   StorageID: 0x00010001
1.021095 debug_objectinfo            (2):   ObjectFormat: 0x3801
1.021104 debug_objectinfo            (2):   ProtectionStatus: 0x0000
1.021113 debug_objectinfo            (2):   ObjectCompressedSize: 0
1.021122 debug_objectinfo            (2):   ThumbFormat: 0x3801
1.021132 debug_objectinfo            (2):   ThumbCompressedSize: 262144
1.021141 debug_objectinfo            (2):   ThumbPixWidth: 256
1.021150 debug_objectinfo            (2):   ThumbPixHeight: 256
1.021159 debug_objectinfo            (2):   ImagePixWidth: 0
1.021168 debug_objectinfo            (2):   ImagePixHeight: 0
1.021177 debug_objectinfo            (2):   ImageBitDepth: 24
1.021186 debug_objectinfo            (2):   ParentObject: 0x00000031
1.021195 debug_objectinfo            (2):   AssociationType: 0x0000
1.021204 debug_objectinfo            (2):   AssociationDesc: 0x00000000
1.021214 debug_objectinfo            (2):   SequenceNumber: 0x00000000
1.021223 debug_objectinfo            (2):   ModificationDate: 0x5d5513e8
1.021232 debug_objectinfo            (2):   CaptureDate: 0x5d586544


Ciao, Marcus


_______________________________________________
Gphoto-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gphoto-user