elktownlabs / murgcam

Autonomous, time-based, low power still camera
0 stars 0 forks source link

EXIF Daten anpassen? #47

Open sirtet opened 1 year ago

sirtet commented 1 year ago

https://github.com/elktownlabs/murgcam/blob/23df4dbb274391b16a67ac1fe7236453216c96b4/web-backend/api/upload.php#L151 In upload.php ab Zeile 151:

Statt DATE_TIME (ist in Exiftool Modify Date) der Datei sollte wohl eher DATE_TIME_ORIGINAL beschrieben werden, (oder zusätzlich?) Auch ist die Zeit noch verschieden in DATE_TIME vs. IMAGE_DESCRIPTION

Laut indieweb sollte lokale Zeit verwendet werden, also wäre

also sollte man bei IMAGE_DESCRIPTION gleich formatieren wie DATE_TIME? (warum wurde überhaupt eine andere Funktion benutzt?)

oder... ab EXIF 2.31 scheint etwas definiert... https://photo.stackexchange.com/a/97149

In IMAGE_DESCRIPTION könnte/sollte vielleicht ein Link zur Pegel-Seite der Instanz drin sein?

Was Exiftool sieht:

ExifTool Version Number         : 12.42
File Name                       : rm.jfif
Directory                       : .
File Size                       : 65 kB
File Modification Date/Time     : 2023:01:18 21:42:26+01:00
File Access Date/Time           : 2023:01:18 21:42:26+01:00
File Inode Change Date/Time     : 2023:01:18 21:43:19+01:00
File Permissions                : -rw-rw-r--
File Type                       : JPEG
File Type Extension             : jpg
MIME Type                       : image/jpeg
JFIF Version                    : 1.01
Resolution Unit                 : inches
X Resolution                    : 0
Y Resolution                    : 0
Exif Byte Order                 : Little-endian (Intel, II)
Document Name                   : 63c852fb636ae
Artist                          : WWV Schwarzwald e.V.
Make                            : Elktown Labs.
Camera Model Name               : Murgcam
Image Description               : Photo of the one and only river Murg! Come and enjoy some of the best whitewater in Germany! (2023-01-18T21:13:47+01:00 UTC)
Orientation                     : Horizontal (normal)
Modify Date                     : 2023:01:18 20:13:47
Copyright                       : Copyright WWV Schwarzwald e.V., 2023. All rights reserved.
Software                        : 1674072827
Image Unique ID                 : 63c852fb636ae
Comment                         : CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), default quality.
Image Width                     : 1600
Image Height                    : 1200
Encoding Process                : Baseline DCT, Huffman coding
Bits Per Sample                 : 8
Color Components                : 3
Y Cb Cr Sub Sampling            : YCbCr4:2:0 (2 2)
Image Size                      : 1600x1200
Megapixels                      : 1.9

Was Windows Explorer sieht: image