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

How to convert a Pixie Image to a wxImage #553

Open
fenix272 opened this issue Jun 23, 2024 · 2 comments
Open

How to convert a Pixie Image to a wxImage #553

fenix272 opened this issue Jun 23, 2024 · 2 comments

Comments

@fenix272
Copy link

I'm using wxwidgets with Nim and i want to use your library to load the images, since it's pretty fast and support more formats. WxImage has a SetData function which accept unsigned char array and also a SetAlpha routine to set the alpha channel. How do i convert a Pixie Image to a format which is compatible with wxImage?

@fenix272
Copy link
Author

I solved the problem for now, but the "readImage" proc is painfully slow!! To load 18 jpeg images it took 36 seconds!! Is there a faster routine?

@treeform
Copy link
Owner

You probably need to compile with -d:release ?

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