We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
It is currently impossible to add a ImgFace to a node and render the tree, QPixmap will complain with the following warning message:
QPixmap
QPixmap: It is not safe to use pixmaps outside the GUI thread
It is important if you want to display the rendered tree directly in a web page for example.
The text was updated successfully, but these errors were encountered:
FYI, I solved it this way:
with tempfile.NamedTemporaryFile(suffix='.PNG') as temp: img_map = self.tree.render(temp.name, tree_style=self.tree.tree_style) temp.seek(0) base64_img = base64.b64encode(temp.read())
Sorry, something went wrong.
Make it possible to render tree containing ImgFace
b059c7b
See etetoolkit/ete#302
No branches or pull requests
It is currently impossible to add a ImgFace to a node and render the tree,
QPixmap
will complain with the following warning message:It is important if you want to display the rendered tree directly in a web page for example.
The text was updated successfully, but these errors were encountered: