For a tool that tries to fill in {{Information}} templates on commons based on the current, unstructured text, I have it fill in the "Date" parameter from the EXIF data of the image, if available.
I just thought: How about a new magic word, {{EXIFDATE}}, that would extract EXIF data from the image? It could be used in {{Information}} as a default in case no "Date" parameter is provided.
{{EXIFDATE}} would return blank on namespaces other than "Image:", of course, and for files that have no EXIF data.
There could be {{EXIFTIME}} and {{EXIFTIMEDATE}} as well, but that would be luxus :-)
Shouldn't be too costly for the parser (on image pages, image data will be needed anyway).
Anyone opposed? Anyone willing to code? ;-)
Cheers, Magnus
On 8/20/07, Magnus Manske magnusmanske@googlemail.com wrote:
For a tool that tries to fill in {{Information}} templates on commons based on the current, unstructured text, I have it fill in the "Date" parameter from the EXIF data of the image, if available.
Dandy idea. It would be desirable to have extraction for other EXIF data?
Exif geodata would be nice. There are a number of EXIF fields which we might expect to find authorship data in.. (I use 'Copyright', and 'Owner')
I just thought: How about a new magic word, {{EXIFDATE}}, that would extract EXIF data from the image? It could be used in {{Information}} as a default in case no "Date" parameter is provided.
Which EXIF date field? There are at least two. :) Also, does HTTP upload preserve the file timestamp and, more importantly, if it does do we preserve it? Should we
Gregory Maxwell schrieb:
On 8/20/07, Magnus Manske magnusmanske@googlemail.com wrote:
For a tool that tries to fill in {{Information}} templates on commons based on the current, unstructured text, I have it fill in the "Date" parameter from the EXIF data of the image, if available.
Dandy idea. It would be desirable to have extraction for other EXIF data?
Exif geodata would be nice. There are a number of EXIF fields which we might expect to find authorship data in.. (I use 'Copyright', and 'Owner')
I use Exif:Artist for my pseudonym. It would be nice to get it from the file into {{Information}}
I just thought: How about a new magic word, {{EXIFDATE}}, that would extract EXIF data from the image? It could be used in {{Information}} as a default in case no "Date" parameter is provided.
Which EXIF date field? There are at least two. :) Also, does HTTP upload preserve the file timestamp and, more importantly, if it does do we preserve it? Should we
I think Exif:Date/time original is most appropriate. If Exif:Date/time digitized differs we might include this additionally. Exif information is not altered when uploading. Exif date/time original is not altered when edititing in Photoshop.
Regards
Robin