Skip to content

Python 3 migration of gradientGenerator.py - Error while saving the image array as PNG #1

@parthranawat

Description

@parthranawat

I am using the Python 2 script [LINK] to create an image atlas with a gradient for volume rendering. I followed this [LINK] to migrate the code to Python 3 and was successful in doing so. But when I try to run the script, there was an error (cannot write mode F as PNG) with saving the image array in PNG format.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions