Author Topic: Apple .jpg file "looks more like a MOV"  (Read 553 times)

calberga

  • Full Member
  • ***
  • Posts: 57
Apple .jpg file "looks more like a MOV"
« on: January 15, 2020, 03:54:21 PM »
I have some pictures taken with an iPhone with "live" accidentally set.  They have type of .jpg, and are displayed properly by IrfanView, and by the exiftool GUI.  But when I try to set the "comment" tag I get the message:

Error: Not a valid JPG (looks more like a MOV)

Is there a way to "fix" these files, to turn them into full fledged .jpg files?  I am attaching an example.

Alan Clifford

  • ExifTool Freak
  • *****
  • Posts: 554
    • A selection of Alan Clifford's photographs
Re: Apple .jpg file "looks more like a MOV"
« Reply #1 on: January 15, 2020, 04:13:59 PM »
exiftool reports

Code: [Select]
[File]          MIME Type                       : image/heic

Alan Clifford

  • ExifTool Freak
  • *****
  • Posts: 554
    • A selection of Alan Clifford's photographs
Re: Apple .jpg file "looks more like a MOV"
« Reply #2 on: January 15, 2020, 04:20:33 PM »
On my mac, I exported the file as a .jpg with Preview.

StarGeek

  • Global Moderator
  • ExifTool Freak
  • *****
  • Posts: 4642
Re: Apple .jpg file "looks more like a MOV"
« Reply #3 on: January 15, 2020, 04:22:27 PM »
Try updating to a newer version of exiftool.  This images isn't a jpg.  It's a HEIC.

Exiftool can only affect the metadata.  It can't convert a HEIC to a jpg.  You'll have to look elsewhere for something to convert it.

I do find it interesting that Irfanview will display it for you.  When I tried, irfanview rejected it outright.  I updated from 4.51 to 4.54, it wouldn't reject it, but it just displayed a completely black image for me.
Troubleshooting hints:
* When posting, include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).
* Double all percent signs (%) in a Windows batch file.
* If your GPS coords are negative, make sure and set the GpsLatitudeRef and GpsLongitudeRef tags correctly.

calberga

  • Full Member
  • ***
  • Posts: 57
Re: Apple .jpg file "looks more like a MOV"
« Reply #4 on: January 16, 2020, 11:22:15 AM »
Odd.  I'm using 4.53 - 64 bit.  When Apple threw honestly labeled .HEIC files Irfanview did the type conversion with no problems.  Maybe I better not update!

I don't have a Mac, and I copied the files with Funbox.  I'll try changing the type to .HEIC and feeding them to IrfanView.  Thanks for the information.

StarGeek

  • Global Moderator
  • ExifTool Freak
  • *****
  • Posts: 4642
Re: Apple .jpg file "looks more like a MOV"
« Reply #5 on: January 16, 2020, 11:34:56 AM »
Odd.  I'm using 4.53 - 64 bit.  When Apple threw honestly labeled .HEIC files Irfanview did the type conversion with no problems.  Maybe I better not update!

It may be that your system added a HEIC codec at some point.  Looking around, it seems it's available from the Windows Store, but since I'm a tad paranoid about MS, I removed the Windows store (and some other bits) from my computer. 
Troubleshooting hints:
* When posting, include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).
* Double all percent signs (%) in a Windows batch file.
* If your GPS coords are negative, make sure and set the GpsLatitudeRef and GpsLongitudeRef tags correctly.