2013-05-10, 05:58
Do you read the EXIF tags? I downloaded the EXIFTool GUI and noticed that the EXIF info has the same keywords under a field called XPKeywords. Is that something that can be read? I am guessing you get the date taken from the EXIF info because all my digital photos have no IPTC data but your screensaver shows the date taken. Is that from the file or the EXIF data? Is the reading of EXIF info built in or do you have any control over that?
J_K_M_A_N
**** EDIT ****
I have been messing around with the EXIFvfs.py and the gui.py and I changed the iptc code to this in the gui.py:
That comes up with nothing. No error but no keywords either. And using that EXIFTool GUI I know there are keywords there. Do you think the hex code is off for that field maybe? Or is my code bad?
J_K_M_A_N
**** EDIT ****
I have been messing around with the EXIFvfs.py and the gui.py and I changed the iptc code to this in the gui.py:
Code:
if self.slideshow_date == 'true':
try:
exiftags = EXIFvfs.process_file(imgfile, details=False, stop_tag="XPKeywords")
if exiftags.has_key('EXIF XPKeywords'):
keywords = str(exiftags['EXIF XPKeywords']).decode('utf-8')
except:
pass
That comes up with nothing. No error but no keywords either. And using that EXIFTool GUI I know there are keywords there. Do you think the hex code is off for that field maybe? Or is my code bad?