Skip to content

Image Saver #19

@ahmedkhalf

Description

@ahmedkhalf

Is your feature request related to a problem? Please describe.
Using helper classes is great for viewing phenotypes however It would be great to have a function in the species class that can save the phenotype to whatever resolution you specify, and show this image without having to import helper class. This will make the code users type more concise and not have to rely on many import statements

Describe the solution you'd like
Add save_img(resolution -> [optional] tuple) function.
Add show_img(resolution -> [optional] tuple) function.
If no resolution is specified then it is saved with the same resolution as the target image.

Describe alternatives you've considered
Create a new species class with a bigger resolution and then use render and helper.showimage(), however, this is not simple and relies on many import statements.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions