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

silx.gui.utils.image: Added support of QImage.Format_Grayscale8 to convertQImageToArray #3958

Merged
merged 5 commits into from
Dec 8, 2023

Conversation

t20100
Copy link
Member

@t20100 t20100 commented Oct 26, 2023

Using grayscale8 QImage (available in Qt>=5.5) avoids some array copies/conversion when dealing with text in the OpenGL backend.

This moves minimum required version from Qt5.3 to Qt5.5... I documented minimum version to 5.6 ton Linux to be inline with Windows and macOS. BTW, we don't test with an old version of pyQt... so the effective min version requirement is probably higher.

Small improvement/clean-up done while working on PR #3956

@t20100 t20100 added this to the 2.0.0 milestone Oct 26, 2023
@vallsv
Copy link
Contributor

vallsv commented Oct 27, 2023

Dependency with PyQt5.6 looks optimistic no?

I am pretty sure there is dependency with at least 5.9, which is imo not a problem.

@t20100
Copy link
Member Author

t20100 commented Oct 27, 2023

Dependency with PyQt5.6 looks optimistic no?

+1, never checked I'd say.
I agree 5.9 is more realistic, I'll update it.

@payno payno merged commit 5a0ee15 into silx-kit:main Dec 8, 2023
7 checks passed
@t20100 t20100 deleted the qimage-convert-improvement branch January 15, 2024 12:31
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

Successfully merging this pull request may close these issues.

3 participants