LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

problem to save SGL format image with imaqWriteVisionFile

Hi all,

 

 I have a floating point format (SGL format) grayscale image (with a very high dynamic) and I want to save it. When I try to save it with imaqWriteVisionFile function ( and I saw that normaly this function is compatible with SGL format) my debug prompt me a 'non fatal error' with 'error' due to an 'invalid image format'. 

 To save my image, I tried (and it worked) the imaqWriteFile function with .aipd file format, it's a NI proprietary format and I didn't find any compatible reader.

  Do you know how can I save my floating point grayscale image.

Thank's a lot.

David

0 Kudos
Message 1 of 2
(2,139 Views)

Hello,

 

You can try to save the image with another format sur as .BMP or .PNG.

http://forums.ni.com/ni/board/crawl_message?board.id=200&message.id=46963

http://forums.ni.com/ni/board/crawl_message?board.id=200&message.id=3183

 

Best regards,

Antoine

 

 

0 Kudos
Message 2 of 2
(2,088 Views)