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

Not able to draw in memory image #164

Open
louisyulu opened this issue Jun 30, 2021 · 1 comment
Open

Not able to draw in memory image #164

louisyulu opened this issue Jun 30, 2021 · 1 comment

Comments

@louisyulu
Copy link

I am trying to draw an image generated in memory(no file exist for it), but the drawImage in opengl/context.nim always depends on an external image file(calling getOrLoadImageRect), that prevents me doing a quite important use case of display data in matrix form.
I looked into tests/imagestatic and imagegen, they depend on flippy lib, cannot be compiled.

@treeform
Copy link
Owner

treeform commented Oct 4, 2021

If you want to just draw an Image in memory without openGL you should use (pixie)[https://github.com/treeform/pixie] it even has context api that is very similar to the way its done Browsers or Cairo.

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

2 participants