I am working on an image processing project where my images are saved in blob storage on Azure. My goal is to read in the blob images and apply some transformations to them, then upload them to a separate container using python. Currently, I'm able to read in the images from Azure, convert the images to arrays so I can process them, but I'm having trouble getting the arrays back to Azure as .jpg images. This is what I'm trying (where resized_image is a (243, 387, 3) array):
resized_image = bytes(resized_image)
blob_service.create_blob_from_bytes("transformed", "test.jpg", resized_image)
This is creating a new file in my "transformed" container but it is empty and of None type.

