This morning’s project was learning how to resize and watermark images from the command line using image magick.
I was tearing out my hair for a bit until I realized that gwenview must be doing some weird in-memory caching. It doesn’t seem to properly reload files from disk if you delete and then recreate a new version with the same name. Switched viewers and suddenly the commands started working.
-
Created a basic watermark in inkscape. Export as PNG with transparent background.
-
Resize syntax with ‘>’ only shrinks if source is greater than.
magick convert [infile] -resize 600x2000> [outfile]
#cli #photography
1/