Converting Image Formats with Python and Azure Functions

March 22, 2022

Intro

I have a PyPortal that came as part of AdaBox 011. With the combination of a nice screen and WIFI I am going to use it to display images from the NASA Earth Polychromatic Imaging Camera. I plan to download and display the images in an animated fashion.

I use an Azure Function written in Python to that will crop and scale the image before delivering it to the PyPortal as a bitmap. The PyPortal saves and image and then adds it to the animation loop.

Pillow does the bulk of the image processing, all of the rest comes with Python.

All the code is found here

Nifty tech tag lists fromĀ Wouter Beeftink