02-26-2007 10:07 PM
02-26-2007 10:26 PM
02-27-2007 04:55 AM
I assume you mean something like what is shown in this thread. LV seems to have some problems when resizing some images.
You can try using the messy example posted here to resize your image.
02-27-2007 09:30 AM
02-27-2007 11:03 AM
Thanks for the reply folks. At least I somewhat understand it now. I hope NI can fix this in a future release -- every other freeware image viewer has a real time scaling that works well, so it shouldn't be that hard. In the interim, I'll pre-size the JPEG image to the size I want to display. I am enclosing the image since one of the posters requested to see it. It's pretty sad. This is too bad, since I was hoping to implement a help system for finding certain connectors on my printed wiring board. The idea was to zoom in on a photo of a board, and help the user identify the correct component.
Regards
-Ted
02-27-2007 11:12 AM
You can still do what you want. Load the full size image and resize it to fit the display using one of the referenced VIs. When the user zooms in, take the original image again and do another resize on it with the new zoom value.
02-27-2007 11:32 AM
You can still do what you want. Load the full size image and resize it to fit the display using one of the referenced VIs. When the user zooms in, take the original image again and do another resize on it with the new zoom value.
Hi -- I presume you mean that I have to purchase a VI, and I cannot do it with the ZoomFactor property. Is that correct?
Regards
-Ted
02-27-2007 12:48 PM
I mean that you can not do this with the zoom property because it doesn't work (note - it might work if you use PNG and not JPG, although I doubt it).
You don't have to buy George's VIs - you can simply follow the link I provided in my first reply which includes a VI which does this and a reference to another VI which does this.
02-27-2007 01:35 PM
I saw there is a .net picturebox control available. Is there any documentation on how that beast works? Maybe an activeX control is available as well. As usual, the msdn site is less than informative 🙂
Thanks again,
-Ted
02-27-2007 01:51 PM