An Interest In:
Web News this Week
- March 28, 2024
- March 27, 2024
- March 26, 2024
- March 25, 2024
- March 24, 2024
- March 23, 2024
- March 22, 2024
Create Perfectly Sized Cover Images for Dev.to
As a heads up, I'm making this post as a plug for my Image Titler tool that I've been developing in my spare time for a little over a year now:
TheRenegadeCoder / image-titler
An image title generator using The Renegade Coder style
Image Titler
The Image Titler is a tool which provides options for generating thumbnails for various social media platformsCurrently, the tool has a predefined style which looks roughly like the following image:
To see more examples, check out our list of samples.
How to Run
The following code snippet demonstrates a few ways you might use the script:
pip install image-titler # Installs the scriptimage-titler # Runs as defaultimage-titler --title "Hello, World!" # Adds a custom titleimage-titler --output_path "path/to/output" # Sets the output pathimage-titler --path "path/to/image" # Sets the image pathimage-titler --tier "free" # Sets the membership tier which changes the rectangle bordersimage-titler --logo_path "path/to/logo" # Adds a 145x145 logo to the lower left corner of the imageimage-titler --batch # Runs the program in batch mode on a directoryimage-titler --font
Basically, it's a Python tool for generating cover images with titles on them. I originally developed it to speed up the process of creating featured images for my own website, but now I'm trying to get it in front of a larger audience.
To do that, I recently added a feature in v2.3.2 that automatically resizes and crops images for the dev.to platform (1000x420). Here's a demo of the GUI using the image from this article:
If you're interested in using this tool yourself, grab the latest version of Python (3.8+) and run the following commands:
pip install image-titlerimage-titler-gui
That'll launch up this tool, so you can begin making your own cover images. When you're done, feel free to let me know what you think!
Original Link: https://dev.to/renegadecoder94/create-perfectly-sized-cover-images-for-dev-to-lhp
Dev To
An online community for sharing and discovering great ideas, having debates, and making friendsMore About this Source Visit Dev To