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

The scaled function of QPixmap does not work after using loadFromData to load the picture #991

Open
27161433 opened this issue Jan 25, 2023 · 0 comments

Comments

@27161433
Copy link

27161433 commented Jan 25, 2023

Describe the bug
I used the tutorial from https://docs.nodegui.org/docs/guides/images/ to successfully display the image, but I found that using the scaled function after this has no effect, nor does it display any error code

my code

const pix = new QPixmap();
pix.loadFromData(buffer);
pix.scaled(100, 100, 1, 1);

Desktop:

  • OS: windows 11 22H2 (22621.1105)
  • NodeGUI version: 0.58.0-rc4
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

1 participant