I created another image, because I suspected it had something to do with the graphicTask objects (the green and blue rectangles). Some of these objects are partly in the rendered picture and partly outside it. (i.e. boundingRect() is partly outside the image) I shifted these task objects and recreated the image. Now I see that some of the timeline of the first render is also in the second image. This is strange because I use a newly created image (see the code) and render to that.
I also created an image without any task obejcts (only the timeline and the night-time rectangles (the grey rectangles) are in the image. When I do this it does not garble up the second image (see attached test2.jpg)
Bookmarks