Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

Can not unloadImage using QML canvas

$
0
0
Hello all, I have a problem with qml canvas. I want to read series of images in hard drive, with each image I load it into qml canvas : onImageChanged : {  canvas.unload(oldUrl);    canvas.load(newUrl);  canvas.isImageLoaded(newUrl); //some times false and sometimes true }   onImageLoaded: //request my canvas to paint image was loaded I have a problem when showing to fast 2 different images and my canvas can not unload the old image . So my old image is still in canvas buffer . I want to finish unload all image in canvas before drawing new one. Could you please help me? Thank you!

Viewing all articles
Browse latest Browse all 4972

Trending Articles