Example Code

Crop JPEG Image Without Vision Development Module

Code and Documents

Attachment

With the graphic formats palette, we can easily crop a JPEG images by transforming the image to a pixel map.  The pixel map is simply a 2-d array which contains the image data.  In this new format, we can extract subsets of the array to create the cropped image.

ReadJPEGex.PNG

Cole R.
National Instruments
Software Engineer

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

Contributors