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

JuliaCanvas image buffer type inconsistent across different OSs #100

Closed
urlicht opened this issue Nov 18, 2020 · 4 comments
Closed

JuliaCanvas image buffer type inconsistent across different OSs #100

urlicht opened this issue Nov 18, 2020 · 4 comments

Comments

@urlicht
Copy link

urlicht commented Nov 18, 2020

  • It seems like the buffer type of JuliaDisplay is inconsistent across OS
  • On Windows, JuliaDisplay works with ARGB32 (UInt32, 0xAARRGGBB). However, on Ubuntu, it seems like the image buffer is actually in RGB32 (UInt32, 0xffRRGGBB)
  • The same versions of QML (0.6.0) and Julia (1.5.3) were used on Windows (Windows 10) and Ubuntu (Ubuntu 18.04)
@barche
Copy link
Collaborator

barche commented Dec 28, 2020

Do you mean JuliaDisplay or JuliaCanvas? Because in the case of JuliaDisplay no arrays are involved directly? Could you provide an example of what goes wrong, exactly?

@urlicht urlicht changed the title JuliaDisplay image buffer type inconsistent across different OSs JuliaCanvas image buffer type inconsistent across different OSs Dec 28, 2020
@urlicht
Copy link
Author

urlicht commented Dec 28, 2020

Sorry about that, I meant JuliaCanvas I'll follow up with a simple example sometime later this week. Btw, thank you so much for developing this package. It makes cross-platform UI dev easy in Julia!

barche added a commit to JuliaGraphics/jlqml that referenced this issue Jan 1, 2021
@barche
Copy link
Collaborator

barche commented Jan 1, 2021

I still have to test on Windows, but it seems the Qt image format was set to RGB, I switched it to ARGB but that will need a new release of the C++ code (jlqml_jll, should happen soon).

@ufechner7
Copy link
Member

Should be fixed in QML 0,8

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

3 participants