Spotify Canvas Generator

- 1 min read

I’ve been working on some new music and wanted to have a way to create a Spotify Canvas from my album artwork. This script needed to do a few things:

  • Take album artwork as input (or any still image)
  • Resize to 9:16 for phone screens
  • Apply the effect(s)
    • random digital artifacting
    • glitches from the glitch-this library
    • vertical pixel smearing
  • output a few different filetypes in a new directory:
    • png
    • gif
    • final mp4 for spotify

Here’s an example with the album artwork:

Original

Image Description

Spotify Canvas

Image Description

Boom.

Feel free to check out the code and the music! Repo linked here. The python is open-sourced, so feel free to use, edit, copy, or anything else. Try some different effects! I’ll keep working on it too, probably. I hope this helps someone ๐Ÿค

more soon ๐Ÿ‘