<div dir="ltr">if this is a one time (snapshot) render to image, Items have a method:<div><a href="http://doc.qt.io/qt-5/qml-qtquick-item.html#grabToImage-method">http://doc.qt.io/qt-5/qml-qtquick-item.html#grabToImage-method</a><br></div><div><br></div><div>else for live effect like Mitch Curtis said the ShaderEffectSource, note: you can also hide the original item if required</div></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><table width="500" border="0" cellpadding="2" cellspacing="0" style="color:rgb(0,0,0);font-family:"Times New Roman";font-size:medium;width:500px;table-layout:fixed"><tbody><tr><td align="left" valign="middle" width="110" height="78" style="border-right:1px solid rgb(119,39,139);width:110px"><a href="https://www.bodycad.com/" width="90" style="text-decoration:none;width:90px" target="_blank"><img src="http://bodycad.com/Content/images/signatureEmail/mini-logo-bodycad.png" alt="bodycad" border="0" height="22" width="90" style="padding-left:8px;padding-right:8px"></a></td><td align="left" width="100%" height="78" style="padding-left:10px;width:373px"><table cellspacing="0" cellpadding="0" style="font-family:Helvetica,Arial,sans-serif;font-size:10px"><tbody><tr><td colspan="2" height="12" style="padding:0px;font-weight:bold;height:12px">Jerome Godbout</td></tr><tr><td colspan="2" height="12" style="padding:0px;height:12px">Software Developer</td></tr><tr><td colspan="2" height="12" style="padding:0px;height:12px">2035 rue du Haut-Bord, Québec, QC, Canada. G1N 4R7</td></tr><tr><td height="12" colspan="2" style="padding:0px;height:12px"><span style="font-family:Helvetica,Arial,sans-serif;font-weight:bold;line-height:12px;color:rgb(119,39,139)">T: </span> <span style="font-family:Helvetica,Arial,sans-serif;line-height:12px">+1 418 527-1388</span></td></tr><tr><td colspan="2" height="12" style="padding:0px;height:12px"><span style="font-family:Helvetica,Arial,sans-serif;font-weight:bold;line-height:12px;color:rgb(119,39,139)">E: </span><a href="mailto:jerome@bodycad.com" style="text-decoration:none;display:inline;font-weight:bold;color:black" target="_blank">jerome@bodycad.com</a></td></tr><tr><td colspan="2" height="12"><a href="http://www.bodycad.com/" target="_blank">www.bodycad.com</a></td></tr></tbody></table></td></tr><tr><td align="left" colspan="2" width="480" style="padding-top:4px;width:480px"><p style="font-size:8px;font-family:Helvetica,Arial,sans-serif;line-height:12px;padding:8px;border-top:1px solid rgb(119,39,139);width:480px"><span style="line-height:12px">The contents of this email message and any attachments are intended solely for the addressee(s) and may contain confidential and/or privileged information and may be legally protected from disclosure. If you are not the intended recipient of this message or their agent, or if this message has been addressed to you in error, please immediately alert the sender by reply email and then delete this message and any attachments. If you are not the intended recipient, you are hereby notified that any use, dissemination, copying, or storage of this message or its attachments is strictly prohibited. </span><br><br><span style="line-height:12px">Le contenu de ce message et les pièces jointes sont destinés uniquement pour le(s) destinataire(s) et peuvent contenir des informations confidentielles et / ou privilégiées qui peuvent être protégées légalement contre toute divulgation. Si vous n'êtes pas le destinataire de ce message ou son agent, ou si ce message vous a été adressé par erreur, s’il vous plaît avertir immédiatement l'expéditeur par courriel de réponse, puis supprimer ce message et les pièces jointes. Si vous n'êtes pas le destinataire prévu, vous êtes par la présente informé que toute utilisation, diffusion, copie, ou stockage de ce message ou de ses pièces jointes est strictement interdit.</span></p></td></tr></tbody></table></div></div></div>
<br><div class="gmail_quote">On Tue, Jun 27, 2017 at 7:48 AM, Mitch Curtis <span dir="ltr"><<a href="mailto:mitch.curtis@qt.io" target="_blank">mitch.curtis@qt.io</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">You can use a ShaderEffectSource instead of an Image:<br>
<br>
<a href="http://doc.qt.io/qt-5/qml-qtquick-shadereffectsource.html#details" rel="noreferrer" target="_blank">http://doc.qt.io/qt-5/qml-<wbr>qtquick-shadereffectsource.<wbr>html#details</a><br>
______________________________<wbr>__________<br>
From: Interest <interest-bounces+mitch.<wbr>curtis=<a href="mailto:qt.io@qt-project.org">qt.io@qt-project.org</a>> on behalf of Nuno Santos <<a href="mailto:nunosantos@imaginando.pt">nunosantos@imaginando.pt</a>><br>
Sent: Tuesday, 27 June 2017 11:19:58 AM<br>
To: Qt Project MailingList<br>
Subject: [Interest] Mirror Qml Item content into Qml Image<br>
<div class="HOEnZb"><div class="h5"><br>
Hi,<br>
<br>
Is there anyway of making the contents of a Qml Item appear rendered inside a Qml Image?<br>
<br>
The purpose is to make a viewport navigation preview for a certain Qml Item.<br>
<br>
Thanks!<br>
<br>
Nuno<br>
<br>
<br>
______________________________<wbr>_________________<br>
Interest mailing list<br>
<a href="mailto:Interest@qt-project.org">Interest@qt-project.org</a><br>
<a href="http://lists.qt-project.org/mailman/listinfo/interest" rel="noreferrer" target="_blank">http://lists.qt-project.org/<wbr>mailman/listinfo/interest</a><br>
______________________________<wbr>_________________<br>
Interest mailing list<br>
<a href="mailto:Interest@qt-project.org">Interest@qt-project.org</a><br>
<a href="http://lists.qt-project.org/mailman/listinfo/interest" rel="noreferrer" target="_blank">http://lists.qt-project.org/<wbr>mailman/listinfo/interest</a><br>
</div></div></blockquote></div><br></div>