Screenshot Flickable which has bigger content than Screensize
-
Hey guys,
i want to take a screenshot of a flickable, but not all content is visible due to content being bigger than the screensize/itemsize.grabToImage(function(result){result.saveToFile("someimg.png")})
is working so far that is catches all inside the itemsize. That means not visible content will not be included in the screenshot.Is there a way to take a "screenshot" even of the not visible content of the flickable?
Thanks in advance
-
You call
grabToImage()
on your Flickable object? Try doing it onflickable.contentItem
instead. If it does not work, then you probably have to programmatically flick the content, grab several images and then stitch them together. -
Yea, i did try to call it on the flickable object.
Tryed it on the contentItem now, but
<unknown File>: QML QuickItem: grabToImange: item has no QML engine
Im on Qt 5.10 btwI´ll guess i try to take the stitch approch...