• Skip to main content
  • Skip to primary sidebar

Founder at work

Master the skills to create and launch your next SaaS company

  • About Me
  • Reviews
  • Resources
  • Community
  • Contact
  • Lessons
  • Series
  • Search
  • Login

How to Automate the process of creating Thumbnails

March 8, 2016 by Rick Hernandez Leave a Comment

If you are brand new to Youtube like me. You might want to create a thumbnail for your videos, why? It has the ability to increase viewers. That means more sales for you! In theory, of course, I can not guarantee you anything. If you are publishing one video a month then your thumbnail is very important, in fact the thumbnail will say what the entire video is about.

On the other hand, if you are creating a massive list of videos. Then making a single thumbnail might not be that practical. One way to get around this is to get a virtual assistant that will take care of this for you. That sounds nice, right? Not really anytime you introduce more humans you introduce more problems.

The other possibility is to create a program, all that it requires is that you know some basic programming to do so.

In this example, we will be creating a simple application that will merge two photos into a single photo along with a parameter to set a dynamic value for the title of the image.

Simple enough

Next is to create the actual application

The application is grabbing a base.png file and combining it with the layer.png file.

Once the images are combined they are written out to output.jpg.

Some simple logic to determine the size and position for the text to overlay of the new image. Then the text is combined with the image and outputted once again to output.jpg.

That’s all, there is to combine two or more images together.

Of course, this is a simple explanation.

You can take this to the next level by doing a bit of math to calculate the max and mins and determine the font size along with the x position of the starting text.

There you go now you can save your self a bunch of time and get back to doing things that matter.

Till next time,

Rick H.

Rick Hernandez

I always had a passion for the field of STEM (Science, Technology, Engineering, and Math) and I knew I wanted to do something to make a difference in the world. I just didn’t know where to start. I was an immigrant in a new country, grew up in a tough environment, and wasn’t sure how… Read More

Share this:

  • Click to share on Twitter (Opens in new window)
  • Click to share on Facebook (Opens in new window)

Related

Filed Under: JavaScript, JavaScript, Programming, Youtube

Primary Sidebar

Learn How To Take Your Idea And Convert It Into An App From Scratch Even If You Have Never Written A Single Line Of Code.

  • How to Find Your Next Great App Idea
  • The Secret To Getting PAID To Build Your Own App
  • How To Create Your App (SaaS, Mobile, VR, AR, Game)
  • How To Monetize Your Apps
Learn More
4.82 Ratings

Copyright © 2025 · JSecademy Blog Theme on Genesis Framework · WordPress · Log in