[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

saving image object on GCS from DoFn

Hello all,

I am running the following simplified code from DoFn (ParDo)
from PIL import Image

img = Image.fromarray(array)

img.save() with gs:// drive does not work.
What would be the recommended way to save the img object on google drive as .png file
any advice is appreciated

Many thanks,