Year In Pictures
Take your best picture of this year, put them into a folder and run this script:
$ python3 yip.py PICTURE_FOLDER
You'll get a collage in shape of 2019 where the digits are made from your pictures:
You'll need to have Pillow:
$ pip3 install Pillow
Fix EXIF Orientation
Digital cameras often store pictures in camera orientation and just save a possibly deviating orientation with it. When the picture is displayed, it is rotated accordingly (see EXIF for details).
Pillow doesn't evaluate that
EXIF orientation out of the box but
provides an additional function for this:
Unfortunately, this function failed quite often for me.
So, to fix this, I used Image Magick's
to rotate the pictures into their intended orientation:
$ mogrify -auto-orient IMAGE_FILES...