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

Draw image on uiArea? #522

Open
joao678 opened this issue Jan 1, 2021 · 3 comments
Open

Draw image on uiArea? #522

joao678 opened this issue Jan 1, 2021 · 3 comments

Comments

@joao678
Copy link

joao678 commented Jan 1, 2021

Is there any good and performace effective way of rendering png images inside a uiArea?
Looked at the code and dosen't seem to have a dedicated method of drawing an image

@rubyFeedback
Copy link

Perhaps something could be added quickly if someone has, say, libpng or something
installed? Just as a temporary workaround. In gtk gdk-pixbuf is used I think.

@msink
Copy link
Contributor

msink commented Jan 5, 2021

Performance-optimized support of bitmap drawing was proposed in #386

@AndyObtiva
Copy link

AndyObtiva commented Nov 16, 2021

I added a code example and an image custom control implementation that automates it in my Glimmer DSL for LibUI Ruby library over here:
https://github.com/AndyObtiva/glimmer-dsl-libui#area-image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants