I wish to image fit to display window even if image is larger or smaller than the display window. I mean I wish to auto scale image when I load
I knew the resample the image by Resample.vi, but this function is make different resolution of image. When I zoom the image after resample, the image pixel was broken.
I wanna keep the image resolution and I wish to display the image fit to the window size with no change resolution of image.
You actually need to use the zoom factor on the image display. Are you using the image display window or the image display front panel control in LabVIEW? I can give you a better answer once I know this.
You can adjust the zoom factor using the IMAQ WindZoom tool (Vision Utilities > External display > IMAQ Windzoom), after reading the image size (Vision Utilities > Image Management > IMAQ GetImageSize)
Well, the original "basic" image display window is the "popup" window. Sometimes, some words can be confusing. Anyway, as any LV indicator, the image indicator has a property node. You can adjust programmatically the zoom factor in the X and Y directions. See the attachment.