Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

NI Vision does not support reading JPEG2000 files with this colorspace method

Hi NI,

I am trying to read two JPEG2000 file's using the IMAQ Read File.vi.  Here's the history and background for both files:

 

1. The first file is being read using the IMAQ Read File.vi and it errors with error code -1074395974.

2. The second file is a product of the first file being read into PhotoShop and then saved to disk.  It is being read using IMAQ Read File.vi and it errors with error code: -1074395989.

 

The help file says that the IMAQ Read File.vi can read JPEG2000 files.  Any idea why it is erroring?

 

Thanks,

Brooks

0 Kudos
Message 1 of 2
(3,827 Views)

Photoshop and other programs that write JPEG2000 files often encode the file with multiple layers and we only support single-layered JPEG2000 files. If you need a lossless encoding format I would move towards PNG.

Tanner B.
Systems R&D Engineer - Aerospace, Defense, and Government
National Instruments
0 Kudos
Message 2 of 2
(3,810 Views)