Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Image Saver #19

Open
ahmedkhalf opened this issue Jun 15, 2020 · 0 comments · May be fixed by #25
Open

Image Saver #19

ahmedkhalf opened this issue Jun 15, 2020 · 0 comments · May be fixed by #25
Labels
enhancement New feature or request
Milestone

Comments

@ahmedkhalf
Copy link
Owner

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.

@ahmedkhalf ahmedkhalf added the enhancement New feature or request label Jun 15, 2020
@ahmedkhalf ahmedkhalf added this to the v0.2 milestone Jun 15, 2020
@tnwei tnwei linked a pull request Oct 4, 2020 that will close this issue
6 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant