Skip to content

Tag: image

Get Image File Size From Base64 String

I’m working on a python web service. It calls another web service to change the picture of a profile. It connects to another web service. This web service can only accept pictures that are 4 MB or smaller. I will put the checking in the first web service. It uses PIL to check if the base64 string is a v…

Creating a PNG file in Python

I have an application where I would like to be able to generate PNG images from data in Python. I’ve done some searching and found “PIL” which looked pretty outdated. Is there some other library that would be better for this? Thanks, Answer Is there some other library that would be better fo…