nodegui/nodegui

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

27161433 opened this issue · 0 comments

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