<html>
<head>
<meta content="text/html; charset=utf-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Hi Larry - <br>
</p>
<p>The python snippet works like a charm on Windows too. I'll wrap a
minimalistic python plugin around the snippet with a button and a
short-cut. I owe you a large cold beer (actually several :-) .
That snippet saved me from digging into a rather large pile of
Qgis/PyQT documentation. You'll get the beer(s) when we meet at
some FOSS4G or Qgis event..<br>
</p>
<p>DelazJ: Yes, I was referring to the "Save as image". I simply
couldn't remember the English translation for the menu item
(Working with a Danish Qgis) <br>
</p>
<p>Karl-Magnus: (regarding snipping tool) - That's exactly what my
users presently are doing. But even that is a bit too much work
with the mouse and keyboard :-) <br>
</p>
<p>Richard: Actually, there already is a feature request for this
function (<a class="moz-txt-link-freetext" href="http://hub.qgis.org/issues/10319">http://hub.qgis.org/issues/10319</a>) . I'll update the
existing request. And thank you for the Qgis3 update (You'll get a
beer too :-) . If it becomes necessary, I'll update the plugin to
3.0. But I hope that some developer with commit rights will have
mercy on me and write this functionality into Qgis 3.0 core.<br>
</p>
<p>Regards<br>
</p>
Bo Victor Thomsen<br>
Municipality of Frederikssund<br>
<br>
<br>
<div class="moz-cite-prefix">Den 20-12-2016 kl. 21:43 skrev Larry
Shaffer:<br>
</div>
<blockquote
cite="mid:CA+nQOR_Kqu90PY39L_ih=cZ6B_6szuBEh5kXDirCK+Onsmoa_A@mail.gmail.com"
type="cite">
<div dir="ltr">Hi,
<div class="gmail_extra">
<br>
<div class="gmail_quote">On Tue, Dec 20, 2016 at 11:02 AM,
DelazJ <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:delazj@gmail.com" target="_blank">delazj@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Hi,<br>
<br>
<div class="gmail_extra">
<div class="gmail_quote"><span class="gmail-">2016-12-20
18:23 GMT+01:00 Bo Victor Thomsen <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:bo.victor.thomsen@gmail.com"
target="_blank">bo.victor.thomsen@gmail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0px
0px 0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">Hi
List-members -<br>
<br>
Is there in Qgis a function / button / menu-item
/ short-cut / plugin to make a simple bitmap
copy of the current content of the map-canvas
and save it to the clipboard ? My users need
this to make a copy of the map and paste into
MS-Word or other software.<br>
</blockquote>
</span></div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div>While not part of the QGIS app, one could use this
PyQGIS snippet to do so (tested quickly on macOS 10.11.6
under QGIS 2.14) from the PyQGIS console:</div>
<div><br>
</div>
<div>from PyQt4.QtGui import *<br>
</div>
<div>QApplication.clipboard().setImage(QImage(QPixmap.grabWidget(iface.mapCanvas())))<br>
</div>
<div><br>
</div>
<div>This avoids having to re-render the QGraphicsView
(QgsMapCanvas) to a paint device, like an image. Code can
be wrapped in a plugin, then have some key bindings
applied (would need some more PyQt).</div>
<div><br>
</div>
Larry Shaffer<br>
Dakota Cartography<br>
<div>Black Hills, South Dakota</div>
<div> </div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px
0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<div dir="ltr">
<div class="gmail_extra">
<div class="gmail_quote"><span class="gmail-">
<blockquote class="gmail_quote" style="margin:0px
0px 0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
I really need the functionality for my users and
I can't seem to find it. The closest I've come
is the "save as png" menu-item in the project
menu. But it's to cumbersome to use in this
case.<br>
</blockquote>
<div><br>
</div>
</span>
<div>Afaics, there's no "save as png" option but
"save as image" in Project menu, option from which
you can choose the image file format (bmp,
jpg...). It's not on the clipboard but easier and
more accessible than print composer.<br>
<br>
</div>
<div>Regards,<br>
</div>
<div>Harrissou<br>
</div>
<span class="gmail-">
<div> <br>
</div>
<blockquote class="gmail_quote" style="margin:0px
0px 0px 0.8ex;border-left:1px solid
rgb(204,204,204);padding-left:1ex">
<br>
I'm familiar with the composer function. My
users can't use this neither because it takes to
long to activate (to many choices and to many
buttons to click)<br>
<br>
So I've decided to make a simple plugin to cover
this functionality. But first I want to be very
sure the function actually is missing ;-)<br>
<br>
Regards<span
class="gmail-m_5600810998998452839HOEnZb"><font
color="#888888"><br>
Bo Victor Thomsen<br>
Municipality of Frederikssund, Denmark.<br>
______________________________<wbr>_________________<br>
Qgis-user mailing list<br>
<a moz-do-not-send="true"
href="mailto:Qgis-user@lists.osgeo.org"
target="_blank">Qgis-user@lists.osgeo.org</a><br>
List info: <a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/qgis-user"
rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman<wbr>/listinfo/qgis-user</a><br>
Unsubscribe: <a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/qgis-user"
rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman<wbr>/listinfo/qgis-user</a></font></span></blockquote>
</span></div>
<br>
</div>
</div>
<br>
______________________________<wbr>_________________<br>
Qgis-user mailing list<br>
<a moz-do-not-send="true"
href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
List info: <a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/qgis-user"
rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/qgis-user"
rel="noreferrer" target="_blank">http://lists.osgeo.org/<wbr>mailman/listinfo/qgis-user</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</blockquote>
<br>
</body>
</html>