14 May 2024
darktable-cli inputfile.dng outputfile.jpg
Simple as that. Even keeps the EXIF data.
find . -type f \( -iname "*.dng" \) -exec sh -c 'darktable-cli {} ${0%.*}.jpg' {} \; -delete
pip3 install pillow-avif-plugin
from PIL import Image
import pillow_avif
img = Image.open('input.avif')
img.save('output.png')
convert image.png image.avif
cwebp input.jpg -o output.webp
dwebp input.webp -o output.png
Useful Laravel packages
Published 2024-05-05
Laravel
PHP
Web development
Learn what packages that can help you build even better websites in Laravel. We'll go trhough the must-haves and packages that are just nice to have.
Read the post →Using Python to organize your media files
Published 2024-04-26
Python
Sorting media files can be a hassle, because no two devices have the same naming convention. Using Python I rename a bunch of files based on their media info.
Read the post →Lenovo Yoga wifi adapter not working on Ubuntu
Published 2024-04-26
Bug fixes
Learn how to fix the wifi adapter on a Lenovo Yoga 7 running Ubuntu.
Read the post →