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

Loading of Inverted icons using read_viz_icons #199

Closed
Nibba2018 opened this issue Mar 13, 2020 · 3 comments · Fixed by #201
Closed

Loading of Inverted icons using read_viz_icons #199

Nibba2018 opened this issue Mar 13, 2020 · 3 comments · Fixed by #201
Labels
type:Bug Fix Something isn't working
Milestone

Comments

@Nibba2018
Copy link
Member

image

Icons loaded by read_viz_icons are inverted when displayed.

Code snippet:

from fury.data import read_viz_icons
from fury import ui, window
button_example = ui.Button2D(icon_fnames=[('Up', read_viz_icons(fname='circle-up.png'))], position=(50,50), size=(30,30))
current_size = (100, 100)
show_manager = window.ShowManager(size=current_size, title="Inverted Image BUG")
show_manager.scene.add(button_example)
show_manager.start()
@skoudoro skoudoro added this to the v0.5.0 milestone Mar 13, 2020
@skoudoro skoudoro added the type:Bug Fix Something isn't working label Mar 13, 2020
@skoudoro
Copy link
Contributor

Thank you for this feedback @Nibba2018!

we will look into it. we need to update read_viz_icons and add a test. it should have failed.

@Nibba2018
Copy link
Member Author

Is this somehow related to the bug which inverted images while saving?

@skoudoro
Copy link
Contributor

It is fixed on my PR #201

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:Bug Fix Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants