LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to display a .TIF file

Hey everyone,

 

I have constructed a very simple program which takes a user input path from a dialog box, and displays the image in a new window. However currently when I try and use the program to open my .TIF image, the image looks like this:

bad_image.JPG

 

I have attached my program, as well as the .TIF picture file (in the ZIP folder). Thanks for the help!

Download All
0 Kudos
Message 1 of 4
(3,052 Views)

Error:

 

1074395984 IMAQ ReadFile Vision does not support the file data type you specified

0 Kudos
Message 2 of 4
(3,013 Views)

Hi BoilerUp81,

 

When I tried your exact code with a TIFF image I created myself it worked perfectly.  Perhaps there is something wrong with the particular file you're using? What's happens if you try others?

0 Kudos
Message 3 of 4
(3,009 Views)

Rory, Thank you for the response. I am still recieving the error listed above whenever I try and open one of the TIF files from the ZIP folder attached in the post. Hopefully this is just some sort of simple fix. Thanks again!

Download All
0 Kudos
Message 4 of 4
(3,004 Views)