This question is answered. Helpful answers available: 0. Correct answers available: 1.


Permlink Replies: 27 - Pages: 2 [ Previous | 1 2 ] - Last Post: 21 Nov 23, 02:25 Last Post By: JeffTucker Threads: [ Previous | Next ]
JeffTucker

Posts: 8,208
Registered: 31-Jan-2006
Re: Download button not working
Posted: 20 Nov 23, 19:28   in response to: Laza in response to: Laza
 
  Click to reply to this thread Reply
I reset my iPhone to provide HEIC instead of JPG, then tried a test shot. The metadata, including GPS coordinates, comes through with no problem. Used it in a Plain album repeatedly, still no problem.

I thought perhaps the jAlbum core might be trying to write xmp metadata to the original, but it does not do so. I'm fairly certain the library that's being used has no way to do that to an HEIC.

And, tellingly, after all that noodling around (a technical term), the modified date on the original HEIC was unchanged from the moment I took the photo.

The only way to cause trouble is to take the generated JPG image, and use it as input to the project. At that point, of course, the image file has none of its original metadata. But that can't happen accidentally.
ralphpage

Posts: 9
Registered: 2-Apr-2019
Re: Download button not working
Posted: 20 Nov 23, 19:40   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
Attachment IMG_8627.HEIC (1.8 MB)
Attachment IMG_8623.HEIC (3.7 MB)
Thank for the suggestion, RobM.
I have attached the file that displays the data as expected (8627) and one of the files that does not (8623). Both have GPS data and camera data visible when I check them with the Windows file explorer, Adobe Photoshop Elements and Exiftool. I have not attempted to edit the meta data in any of the image files.

However, when I view the metadata in jalbum via Explore/ Extensions/List Metadata, I only see the camera data and GPS data in IMG_8627.HEIC. All of the other files do not list any camera data. For example, IMG_8623.HEIC only displays:

Directories:
HEIF (class com.drew.metadata.heif.HeifDirectory)
File Type (class com.drew.metadata.file.FileTypeDirectory)
File (class com.drew.metadata.file.FileSystemDirectory)

File type.Detected File Type Long Name=High Efficiency Image File Format
File type.Detected File Type Name=HEIF
File type.Detected MIME Type=image/heif
File type.Expected File Name Extension=heif
File.File Modified Date=Sun Nov 19 09:25:13 -08:00 2023
File.File Name=IMG_8623.HEIC
File.File Size=3877900 bytes
Heif.Compatible Brands=mif1 MiPr miaf MiHB heic
Heif.Major Brand=heic
Heif.Minor Version=0

Explore/Extensions/Show Metadata for IMG_8627.HEIC shows a full complement of camera and GPS info and I see the expected ICONS in the album. Something seems to inhibit jalbum from seeing the data that is there.

I will try building with a different skin and see what happens.

-Ralph
JeffTucker

Posts: 8,208
Registered: 31-Jan-2006
Re: Download button not working
Posted: 20 Nov 23, 19:43   in response to: ralphpage in response to: ralphpage
 
  Click to reply to this thread Reply
ralphpage wrote:
I will try building with a different skin and see what happens.

This will be a waste of time. The skins don't do any of their own image processing. It's handled entirely by the jAlbum core. So you will never get any different result by switching skins.
JeffTucker

Posts: 8,208
Registered: 31-Jan-2006
Re: Download button not working
Posted: 20 Nov 23, 20:00   in response to: ralphpage in response to: ralphpage
 
  Click to reply to this thread Reply
There's clearly something in the IMG_8623.HEIC metadata that the metadata extractor used by jAlbum (it's a third-party plugin) doesn't like. But it's difficult to guess what that might be.

Can you go back to the true original source image, either on the phone or stored in the cloud?
JeffTucker

Posts: 8,208
Registered: 31-Jan-2006
Re: Download button not working
Posted: 20 Nov 23, 20:12   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
I tried another little experiment, looking for a way to "rescue" the information in the image, and found one. I opened a copy of IMG_8623.HEIC in Photoshop Elements 2020, and without doing anything else to it, saved it as a standard JPG. I dragged that copy into the project, and hey, presto, all the metadata are usable once again, including the GPS location.

"Friends don't let friends use HEIC images in jAlbum." ;)
RobM

Posts: 3,817
Registered: 4-Aug-2006
Re: Download button not working
Posted: 20 Nov 23, 21:35   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
There are some differences in the metadata, my guess would be in the Apple makernote data. When you look at the two files inside jAlbum the metadata for IMG_8623.HEIC stops very early on, before any Apple makernote entries appear.

The only other odd entries for IMG_8623.HEIC are, the other image has no such entries.
Offset Time Digitized : -08:00
Sub Sec Time Digitized : 817
RobM

Posts: 3,817
Registered: 4-Aug-2006
Re: Download button not working
Posted: 20 Nov 23, 22:09   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
I removed 'Offset Time Digitized' using exiftool:
exiftool -OffsetTimeDigitized=
followed by the path to the image and listing metadata in jAlbum now shows GPS data. The album page also shows the location on the map.
JeffTucker

Posts: 8,208
Registered: 31-Jan-2006
Re: Download button not working
Posted: 20 Nov 23, 22:18   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
RobM wrote:
I removed 'Offset Time Digitized' using exiftool:
exiftool -OffsetTimeDigitized=
followed by the path to the image and listing metadata in jAlbum now shows GPS data. The album page also shows the location on the map.

Fascinating! But does it now show the correct local time? That 8-hour offset would be correct for the difference between Greenwich and Yosemite.

ETA: It should be 7-Nov-2023 13:36.
RobM

Posts: 3,817
Registered: 4-Aug-2006
Re: Download button not working
Posted: 20 Nov 23, 22:50   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Yes, the time shown is 2023:11:07 13:36:19

I suspect changing / deleting any metadata might fix the problem. But I have other things to do at the moment.
JeffTucker

Posts: 8,208
Registered: 31-Jan-2006
Re: Download button not working
Posted: 20 Nov 23, 22:59   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
RobM wrote:
But I have other things to do at the moment.

What could possibly be more important than jAlbum stuff?

Oh, wait, it's time for me to start drinking.... ;)
ralphpage

Posts: 9
Registered: 2-Apr-2019
Re: Download button not working
Posted: 20 Nov 23, 23:54   in response to: JeffTucker in response to: JeffTucker
 
  Click to reply to this thread Reply
Thanks to Jeff, Laza and RobM for the help.

Using Adobe to 'save as jpg' worked for me too, thanks for the suggestion. The converted (now .jpg) files all have meta data that was exactable by jalbum and visible when I right-click and pick Extensions / List Metadata.

I made an album with Plain and enabled maps and photo data and it worked fine.

I guess it's time for me to start drinking.

-Ralph
RobM

Posts: 3,817
Registered: 4-Aug-2006
Re: Download button not working
Posted: 20 Nov 23, 23:58   in response to: ralphpage in response to: ralphpage
 
  Click to reply to this thread Reply
ralphpage wrote:
I guess it's time for me to start drinking.
Maybe jAlbum should come with a warning that it could drive one to drink! ;)
JeffTucker

Posts: 8,208
Registered: 31-Jan-2006
Re: Download button not working
Posted: 21 Nov 23, 02:25   in response to: RobM in response to: RobM
 
  Click to reply to this thread Reply
RobM wrote:
Maybe jAlbum should come with a warning that it could drive one to drink! ;)

That's not a warning. That's a hearty recommendation! :)
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums