<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: imaq scale overlay bitmap with zoom in LabVIEW</title>
    <link>https://forums.ni.com/t5/LabVIEW/imaq-scale-overlay-bitmap-with-zoom/m-p/2654535#M791663</link>
    <description>&lt;P&gt;Can you post a snippet of your code? I guess you are refferring to an Image Display control.&amp;nbsp; But I do not see any relation to your post.&lt;/P&gt;</description>
    <pubDate>Fri, 06 Dec 2013 20:28:57 GMT</pubDate>
    <dc:creator>GuenterMueller</dc:creator>
    <dc:date>2013-12-06T20:28:57Z</dc:date>
    <item>
      <title>imaq scale overlay bitmap with zoom</title>
      <link>https://forums.ni.com/t5/LabVIEW/imaq-scale-overlay-bitmap-with-zoom/m-p/2654317#M791607</link>
      <description>&lt;P&gt;Can anyone give me a starting idea so that my bitmap object gets scalled down when i zoom in on the image and vice versa instead of maintaining its origional size ??&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2013 17:25:48 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/imaq-scale-overlay-bitmap-with-zoom/m-p/2654317#M791607</guid>
      <dc:creator>amir13</dc:creator>
      <dc:date>2013-12-06T17:25:48Z</dc:date>
    </item>
    <item>
      <title>Re: imaq scale overlay bitmap with zoom</title>
      <link>https://forums.ni.com/t5/LabVIEW/imaq-scale-overlay-bitmap-with-zoom/m-p/2654535#M791663</link>
      <description>&lt;P&gt;Can you post a snippet of your code? I guess you are refferring to an Image Display control.&amp;nbsp; But I do not see any relation to your post.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Dec 2013 20:28:57 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/imaq-scale-overlay-bitmap-with-zoom/m-p/2654535#M791663</guid>
      <dc:creator>GuenterMueller</dc:creator>
      <dc:date>2013-12-06T20:28:57Z</dc:date>
    </item>
    <item>
      <title>Re: imaq scale overlay bitmap with zoom</title>
      <link>https://forums.ni.com/t5/LabVIEW/imaq-scale-overlay-bitmap-with-zoom/m-p/2655749#M792044</link>
      <description>&lt;P&gt;I have attached a vi where i am trying to display a customized point as an overlay over an image. But as i zoom out of the image the point starting getting disappear, now is there anyway i can make it scale up as i zoom out and vice versa&lt;/P&gt;</description>
      <pubDate>Sun, 08 Dec 2013 11:03:53 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/imaq-scale-overlay-bitmap-with-zoom/m-p/2655749#M792044</guid>
      <dc:creator>amir13</dc:creator>
      <dc:date>2013-12-08T11:03:53Z</dc:date>
    </item>
    <item>
      <title>Re: imaq scale overlay bitmap with zoom</title>
      <link>https://forums.ni.com/t5/LabVIEW/imaq-scale-overlay-bitmap-with-zoom/m-p/2655753#M792046</link>
      <description>&lt;P&gt;Never had this desire.&amp;nbsp; Using a property node to read the ZoomInteger or ZoomSingle of the Image Display would be my approach.&amp;nbsp; Use these values to resize the bitmap before overlaying it.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Dec 2013 11:24:45 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/imaq-scale-overlay-bitmap-with-zoom/m-p/2655753#M792046</guid>
      <dc:creator>GuenterMueller</dc:creator>
      <dc:date>2013-12-08T11:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: imaq scale overlay bitmap with zoom</title>
      <link>https://forums.ni.com/t5/LabVIEW/imaq-scale-overlay-bitmap-with-zoom/m-p/2655761#M792047</link>
      <description>&lt;P&gt;Actually a desire which is to be part of my project &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt; .... Zoom single just provides the zooming capability in programming but it has no effect on overlay scaling. I found similar approach in overlay text which has built in scaling capability. Can same capability be introduced in bitmap overlay ??&lt;/P&gt;</description>
      <pubDate>Sun, 08 Dec 2013 11:30:48 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/imaq-scale-overlay-bitmap-with-zoom/m-p/2655761#M792047</guid>
      <dc:creator>amir13</dc:creator>
      <dc:date>2013-12-08T11:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: imaq scale overlay bitmap with zoom</title>
      <link>https://forums.ni.com/t5/LabVIEW/imaq-scale-overlay-bitmap-with-zoom/m-p/2655769#M792049</link>
      <description>&lt;P&gt;It seems that you are right with the behaviour of ZoomSingle.&amp;nbsp; However, ZoomInteger tells you the current zoom selection of the Image Display.&amp;nbsp; With this information you should be able to scale your bitmap according to your desire.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Dec 2013 11:34:11 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/imaq-scale-overlay-bitmap-with-zoom/m-p/2655769#M792049</guid>
      <dc:creator>GuenterMueller</dc:creator>
      <dc:date>2013-12-08T11:34:11Z</dc:date>
    </item>
    <item>
      <title>Re: imaq scale overlay bitmap with zoom</title>
      <link>https://forums.ni.com/t5/LabVIEW/imaq-scale-overlay-bitmap-with-zoom/m-p/2655781#M792052</link>
      <description>&lt;P&gt;How to scale thats the origional question ??&lt;/P&gt;</description>
      <pubDate>Sun, 08 Dec 2013 11:48:51 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/imaq-scale-overlay-bitmap-with-zoom/m-p/2655781#M792052</guid>
      <dc:creator>amir13</dc:creator>
      <dc:date>2013-12-08T11:48:51Z</dc:date>
    </item>
    <item>
      <title>Re: imaq scale overlay bitmap with zoom</title>
      <link>https://forums.ni.com/t5/LabVIEW/imaq-scale-overlay-bitmap-with-zoom/m-p/2655783#M792053</link>
      <description>&lt;P&gt;If your bitmap was an IMAQ image, I would use IMAQ Resample.&lt;/P&gt;
&lt;P&gt;Don't know if a counterpart for this VI exsist in LabVIEW for a 2D array ...&lt;/P&gt;</description>
      <pubDate>Sun, 08 Dec 2013 12:00:23 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/imaq-scale-overlay-bitmap-with-zoom/m-p/2655783#M792053</guid>
      <dc:creator>GuenterMueller</dc:creator>
      <dc:date>2013-12-08T12:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: imaq scale overlay bitmap with zoom</title>
      <link>https://forums.ni.com/t5/LabVIEW/imaq-scale-overlay-bitmap-with-zoom/m-p/2655787#M792055</link>
      <description>&lt;P&gt;The imaq resample does reshapes the image but according to another image not according to zoom level. The difference is X,Y resolution remains same in the case of zoom based scaling which makes imaq resample not the block for the case.&lt;/P&gt;</description>
      <pubDate>Sun, 08 Dec 2013 12:17:51 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/imaq-scale-overlay-bitmap-with-zoom/m-p/2655787#M792055</guid>
      <dc:creator>amir13</dc:creator>
      <dc:date>2013-12-08T12:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: imaq scale overlay bitmap with zoom</title>
      <link>https://forums.ni.com/t5/LabVIEW/imaq-scale-overlay-bitmap-with-zoom/m-p/2655795#M792058</link>
      <description>&lt;P&gt;That's one option on how to use IMAQ Resample.&amp;nbsp; &lt;/P&gt;
&lt;P&gt;Let me put some draft code here.&amp;nbsp; That might avoid lots of posts regarding what I have in mind.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;IMG src="https://forums.ni.com/t5/image/serverpage/image-id/127539i7BEB06D4FE33AB36/image-size/original?v=mpbl-1&amp;amp;px=-1" border="0" alt="ResampleBitmap.PNG" title="ResampleBitmap.PNG" align="middle" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have pasted the the FP after one VI run above the code.&amp;nbsp; You can see, that the small red cross increased in size to 25 x 25 in the Image Display.&amp;nbsp; As transparent pixels in the bitmap were not kept in the alpha channel, I simply used a For Loop in a For Loop to correct this &lt;img id="smileymad" class="emoticon emoticon-smileymad" src="https://forums.ni.com/i/smilies/16x16_smiley-mad.gif" alt="Smiley Mad" title="Smiley Mad" /&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Now its up to you to set the numeric value (instead of my BD constant which is set to 25) according to your desire.&amp;nbsp; And do not forget to clean up things, like IMAQ Dispose (which I did not here in the draft).&lt;/P&gt;</description>
      <pubDate>Sun, 08 Dec 2013 12:50:43 GMT</pubDate>
      <guid>https://forums.ni.com/t5/LabVIEW/imaq-scale-overlay-bitmap-with-zoom/m-p/2655795#M792058</guid>
      <dc:creator>GuenterMueller</dc:creator>
      <dc:date>2013-12-08T12:50:43Z</dc:date>
    </item>
  </channel>
</rss>

