Generate images using Python + Pillow

Job ID: 33966599

Budget: $30 – $250 USD

I'm looking for a Python developer with experience generating images 'on the fly' using the Pillow library. You'll first generate 2 images that look like screenshots from Instagram and Spotify, using data passed in to the function. These images will then be used to generate 8 different styles of promotional post for use on social media.

Each stage of the process by itself is quite simple, but requires a combination of coding and an eye for design; I've explained each stage in detail below. Once each stage is shown to be working correctly, you will then create a master function where I can submit a new request and it will process each stage automatically to create the output images.


***Step 1. Use Pillow to generate PNG of Instagram profile header***
Using Figma template for the design layout, create a function that will generate a PNG image showing an Instagram profile block, using text / image data that is passed into the function via JSON. For example: Username, Profile Image (Base64 or URL), Posts, Followers, Following, Profile Name, Profile Description, Website URL.

(Figma reference: https://www.figma.com/community/file/1118433895524931992)


***Step 2: Use Pillow to generate PNG of Spotify playlist***
Create a function that will generate a PNG image showing a playlist in Spotify, using text / image data that is passed into the function via JSON. For example: Playlist name, thumbnail(s) and track list will be sent via JSON.


**Step 3: Use Pillow to generate promotional images using graphics from Step 1 + 2**
In the attached files, you will see a number of different promotional images. You should write a function that will generate each of these designs and output a PNG + JPG for each. When the function is called, it will first generate the images described in Step 1 + 2, and then using custom parameters for each image type, generate the promotional images.

The promotional images will allow the following params to be set:

- Twitter (Background Image URL, QR Code URL)
- Facebook (Background Image URL, QR Code URL)
- InstaStory1 (BG Hex Value, Text)
- InstaStory2 (BG Gradient Hex Values, Text)
- InstaStory3 (Background Image URL, Text)
- InstaPost1 (BG Hex Value, Text)
- InstaPost2 (BG Gradient Hex Values, Text)
- InstaPost3 (Background Image URL, Text)
Related categories: Python Website Design Automation