Unsolved QML canvas.save() or Item grabToImage() create a png file with transparent background
-
Hello guys,
I have a picture drawn on Qml canvas. I want to store that picture by calling canvas.save() or cavas.grabToImage() .
When I tried to save with "png" type , my image have a black background but the image generated with a transparent background like this: https://bugreports.qt.io/browse/QTBUG-44288
Saving to Jpeg or bmp is ok.Could you please help ?
Thank you!
-
@Tân-Ngọc-Đỗ Isn't it a bug then ?
-
I'd be cool if people would vote the bug up