Does LabVIEW Support .CR2 Image File Format?

Updated Jun 30, 2023

Reported In

Software

  • LabVIEW
  • Vision Software Suite

Issue Details

  • I would like to read .CR2 Images with my LabVIEW program? How can I accomplish this?

Solution

The .CR2 images are not supported natively by NI's Vision software (VAS or VDM).

To read them in using IMAQ ReadFile.vi, for example, you would first need to convert them to a supported image format (PNG, JPEG, BMP, or TIFF) using a 3rd-party conversion tool.

Here's more information about NI Vision File Formats and Image Type Compatibility .

Additional Information

There are likely 3rd party tools that can be called via command line, so you could use the System Exec VI in LabVIEW to automate the conversion of the images before reading them into LabVIEW.

If the device you are using is a Canon EOS Camera (or others) , you can use an external control library to acquire the images directly from the camera, and view in LabVIEW using "Camera Control For Canon EOS by Ackermann Automation GmbH - Toolkit for LabVIEW Download"