Stickers from text
I love the idea of being able to easily add branded text stickers (branded in color and font) to social media images. However, creating them can be a pain. You can always type text, but making it into something pretty requires masking or using an editor, like Canva, that may then own your images - er, text images.
So, I created a simple bash script that will take an array of text and create masked transparent images as output.
Here, I’ve created a directory structure on my Desktop
- Desktop
- texts
- source
- overlays
- masks
- text
This script, I save as ‘make_stickers.sh’ and I can call it from my terminal like so:
It is straightforward to change the string array to be an argument of the function and not have to edit the function constantly.
This post is licensed under
CC BY 4.0
by the author.