Patrick Glendon McCullough
250 
cover:
profile:
Patrick Glendon McCullough
· 1 min read
4 years ago

So in building a set-up where I can easily swap out a cover image and profile image and some sort of daily or momentary word--for no particular reason--I thought it might be fun to play with image EXIF data, which I hadn't ever done.

Embedded in the code of the image is a bunch of info about aperture, exposure, colors, and other photography stuff I don't understand, but also GPS. Interestingly, I learned that it doesn't seem to provide latitude-comma-longitude, but instead three different numbers for each. Degrees, minutes, seconds. And you run an equation on those to produce the coordinates. Got it wrong initially, but fixed it so now when I upload a cover or profile image, it says when it was uploaded, and has a pin showing where it was taken.

I have the day completely to myself today so looking forward to continuing indulgence in similarly pointless pursuits.