To help figure this out with you, we need to get a little bit more information. Will you please let us know what versions of Visual Studio and Measurement Studio you are using? Also, have you installed any additional libraries which may include this image viewer?
FileInformation fileInfo = Algorithms.GetFileInformation(txt_Path.Text);
imageViewer1.Image.Type = fileInfo.ImageType;// !! you can find a hints. ;-)
I am having the same issue with "IMAQ ReadFile.vi" in LabVIEW - the JPEG file I am reading is color but the image I get is greysale. I have been adjusting the File Options and waatching the output data but there is no indication of what's wrong.
Any more hints or help?
So this is actually the Measurement Studio for .NET Languages forum, which means it's talking about a different programming language environment. If you want the discussion to continue extensively, it would be best for you to post your question in a new thread under the Machine Vision forums, which focuses on vision in general. Thanks!