Example Code

Cropping and Saving an Image in LabVIEW

Code and Documents

Attachment

You can use the LabVIEW Picture functions to easily crop and save an image. This example demonstrates the Graphic Formats VIs, which retrieve or store image data in BMP, JPEG, or PNG image files.

NOTE: This example is intended for use with small images. Run this example with the included sample image file for best results.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors