iljitsch.com

topics: photo · BGP / IPv6 / more · settings · b&w · my business: inet⁶ consult · Twitter · Mastodon · LinkedIn · email · 🇺🇸 🇳🇱

This lists photos posted to the site. Also see my photos on Flickr.

Mooi grijs is niet lelijk

Image link - posted 2021-12-04 in

Resizing photos in PHP with correct orientation/rotation and retaining EXIF data

When I got my first iPhone back in 2008, I hacked together a quick script that let me post photos from my iPhone to my website. However, iPhone photos are now 3 MB or larger, which is a bit much. So in practice I would edit the photos on my computer before posting them. But that gets old, so time for some automation.


The first photo I uploaded directly from my iPhone 3G, showing part of the script

Actually resizing images is easy enough in PHP using the imagecopyresampled() function. However, using the provided example script the result was that a photo that I took with my iPhone showed up rotated...

Full article / permalink - posted 2021-11-28

Nogmaals het SoZa-gebouw, nu bij wat meer licht

Image link - posted 2021-11-28 in

Ben benieuwd hoe lang het oude gebouw van het ministerie van sociale zaken nog staat

Image link - posted 2021-11-27 in

Nokia 6310i, still going strong after all these years

Image link - posted 2021-11-21 in

Nog een keertje de skyline, #11

Image link - posted 2021-10-27 in

older posts - newer posts

Search for:
RSS feed

Archives: 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014, 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022, 2023, 2024