Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
May 14, 2020 09:33 pm GMT

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:

GitHub logo TheRenegadeCoder / image-titler

An image title generator using The Renegade Coder style

Image Titler

Join the chat at https://gitter.im/TheRenegadeCoder/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:

23 Tech Topics to Tackle

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:

Image Titler 2.3.2 DEV Demo

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

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To