Solved

How to view embedded 'favourite' data in a JPEG pic taken via iOS device (in Windows)

Posted on 2016-11-10
10
27 Views
Last Modified: 2016-11-30
When going through my pics on my iPhone, I'm able to mark them as a 'favourite'. I use a Windows PC primarily, and want to be able to view this data via some means on that OS, once the pictures are copied across. I would have assumed that Apple used a custom data field within the JPEGs EXIF data or the like, but all viewers I've used don't seem to show a difference with the data fields and entries on files I've marked as favourites versus ones I haven't. However, I do notice that when I mark a picture as a favourite under iOS, the modification time stamp on the file is updated.

I suspect Apple are doing something non-standard here (wouldn't be the first time!) but does anyone have insite as to where the 'favourite' field is set, and how I might be able to view that data (better still, do searches on the basis of it) on the MS Windows 10 platform.

Many thanks! :-)
0
Comment
Question by:bluemercury
  • 4
  • 3
  • 2
  • +1
10 Comments
 
LVL 19

Assisted Solution

by:darbid73
darbid73 earned 500 total points
Comment Utility
When you make an image a favorite on your apple device you are not changing something with respect to the image itself.  The operating system iOS has a small image database which, for this image has an isFavorite flag which is set to true.  In case you are a developer here is the reference to the things in this little database for all media types (images, audit, video)

Thus only your Apple Devices that support iPhoto or similar kinds of apps that not only display the image but read these little databases will be able to show you your favorites.
1
 
LVL 51

Expert Comment

by:Joe Winograd, EE MVE
Comment Utility
I don't have an iPhone and don't know anything about iOS, but I do have a recommendation on two (free!) metadata viewers — Phil Harvey's amazing ExifTool and Calvin Hass' also amazing JPEGsnoop:

http://www.sno.phy.queensu.ca/~phil/exiftool/
http://www.impulseadventure.com/photo/jpeg-snoop.html

Perhaps one of them will show something that the viewers you've tried so far have not shown. Regards, Joe
0
 
LVL 13

Expert Comment

by:Kyle Santos
Comment Utility
You could go to https://www.icloud.com/ and see your favorites there, and download them to your desktop.  (Assuming you have your devices synced to the cloud.)
0
 
LVL 1

Author Comment

by:bluemercury
Comment Utility
Hi Darbid73.

That is exactly what I wondered. What I found interesting (having run a couple of little tests), is if I mark an image as a favourite on my iPhone, it updates the modified date / time on the actual file with that moment in time. So I vainly hoped that (even though I anticipated there would be such a DB) iOS would double up in some way, putting something in the meta data for the actual JPEG file. I can only therefore assume that it is doing this file mod for some other reason (perhaps the DB itself updates the modified date when the entry is written to the DB).

Do you know of other apps that are capable of reading the photos DB and perhaps making a list of all images that have been 'favourited'? The problem is, my storage is full on my iPhone, and I need to remove old pics - but it would be nice to retain some kind of record of the pics marked as favourite, even if just a list to refer to.

Thanks for your suggestions, Joe. The first one I've already used some time back, and remember it being a great tool. Looks like the best EXIF viewer in the world isn't going to help out on this one though :-(

Interesting suggestion Kyle - I'm going to check that out. At present, I just use iCloud for the Image State type backups and Photo Stream. I might see if I can roll with something along these lines to sync just my favourites to iCloud, then download from there. That would be good enough!

Cheers all :-)
0
 
LVL 51

Expert Comment

by:Joe Winograd, EE MVE
Comment Utility
> sync just my favourites to iCloud, then download from there

If you can do that, you can then add a custom tag using ExifTool. Should be fairly easy to write a script that would loop through all of them, making it an automated process to add the custom tag to all of your favs.
0
Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

 
LVL 1

Author Comment

by:bluemercury
Comment Utility
Sounds great Joe, I was thinking of doing something along those lines :-)

Cheers for the thought!
0
 
LVL 19

Expert Comment

by:darbid73
Comment Utility
On my iPhone 7 with the native photo app I can view all my favorites.  I can then Select all of these favorites. After Selected I can choose "Add to" at the bottom and then add them to a new Album. Once you've done that does windows now see that Album so you can now just copy them or make your own list from what you see in windows explorer?
0
 
LVL 1

Accepted Solution

by:
bluemercury earned 0 total points
Comment Utility
Hi darbid73.

Thanks for the suggestion, and sorry for being slow in replying. Unfortuantely, the way the images are served up to Windows Explorer couldn't be made to work like that. Apple just makes the pictures appear in DCIM subfolders, titled 100APPLE, 101APPLE, 102APPLE, etc. Each folder contains up to 1000 pictures, with an ongoing counter starting 'IMG_1001', or such like. After 'IMG_9999' it loops back to the beginning again.

In short, whatever folders I create in the iOS Photo app, Windows does not see. And as we've already established, the favourites flag is set in the iOS photos DB, which Windows isn't given access to.

I worked out a simple way of handling this and finding a solution to my problem. I took my normal backups in iTunes and copied all files to my server before doing anything (well, this is done every night anyway). Then, on the iPhone, I made sure my deleted photos folder was empty. I then went into the pictures marked as favourites in the photo app, and deleted them all, moving them to the deleted folder, where they are safe for 30 days. THEN (having unplugged and replugged my iPhone) in MS Windows Explorer, I selected all photos and videos it could see on the iPhone and deleted them. The beauty here is that Explorer cannot see the content of the deleted photos folder under iOS, so I'd effectively filtered out my favourites.

So with this deletion of everything else done, back to my iPhone, and my camera roll is empty. Now I go back into deleted items, restore them all and all I'm left with now on my phone is my favourite items. I can copy and keep these in an additional folder on my PC, which save for using a little extra space, defines my favourites without doing anything more. If I could really be bothered, I could give them all a star rating with the EXIF batch tools available.

It's a heath robinson resolution, but it is working quite well. Sorry for not sharing before.

Fundementally, your initial comment is spot on that the favourites data is stored in the photos DB, and so I'm awarding you the points as this defined the answer to my question. Many thanks for your help, and the input from everyone else too :-)
0
 
LVL 51

Expert Comment

by:Joe Winograd, EE MVE
Comment Utility
You're welcome. Happy to help. And thanks to you for sharing your solution. Regards, Joe
0
 
LVL 1

Author Closing Comment

by:bluemercury
Comment Utility
Ultimately worked out a heath robinson solution utilising the deleted folder in the iOS app in a leapfrog approach, but Darbid73 answered my initial question (and suspicion) that the meta data concerning whether a picture is a favourite or not is stored in the iOS photo DB, and not in the EXIF data of the image files themselves. Thanks a lot!
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

When you upgrade from Windows 8 to 8.1 or to Windows 10 or if you are like me you are on the Insider Program you may find yourself with many 450MB recovery partitions.  With a traditional disk that may not be a problem but with relatively smaller SS…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
The goal of the tutorial is to teach the user how to remove a natural vignette your photos and how to add vignette to your photos.
With the advent of Windows 10, Microsoft is pushing a Get Windows 10 icon into the notification area (system tray) of qualifying computers. There are many reasons for wanting to remove this icon. This two-part Experts Exchange video Micro Tutorial s…

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now