def create_png_file(image_data):

    filename = create_fname('png')

    gcs_file = gcs.open(filename,
                        'w',
                        content_type='image/png',
                        # make the image public
                        options={'x-goog-acl': 'public-read'}
                        )
    gcs_file.write(image_data)
    gcs_file.close()
    return filename
Create a public GCS object for the given image data in the
dataset/ETHPy150Open GoogleCloudPlatform/appengine-opencv-sudoku-python/utils.py/create_png_file