01-22-2019 07:04 PM
I want to get data from a big 16 bit RGB tiff image from my camera (110MB). Image appeare in Image windows, but IMAQ ImageToArray return error 1074396080. If I (at IMAQ Create) select "Grayscale U16" then I get B&W picture and data in "Image Pixels (U16)" indicator without error. With IMAQ Create at RGB64 Image is RGB and you can get 16 bit RGB pixel value under Image window.
I'm using LabView2012 SP1.
Solved! Go to Solution.
01-23-2019 08:03 AM
Hello,
I would recommend you to check the File Formats and Image Type Compatibility article. Refer also to the screenshot.
I also found couple of the KBs, which has the same topic: Error -1074396080 at IMAQ Threshold, Error -1074396080 Invalid Image Type When Writing to JPEG File, Error -1074396080: Invalid Image Type When Using Imaq Count Objects 2 Vi with Color Image.
Hope it helps.
01-24-2019 01:13 PM
Problem was, that ImageToArray work only for B&W image. With IMAQ ColorImageToArray VI everything works OK.
02-05-2020 05:09 PM
Hi
try setting "Use file path image type" to "Off" in "IMAQ read file 2"
It worked in my case