From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

cannot save BMP file

Solved!
Go to solution

Hi, I am trying to save an image to a BMP file, but it always shows error (invalid image type). For the Tiff format it is OK. Can anyone tell me the reason?

Thanks a lot,

Jane

0 Kudos
Message 1 of 3
(2,808 Views)
Solution
Accepted by topic author Jane.Yu

Hello,

I suppose your image is 16bit, bmp doesn't support it, but tiff does.

Have a look at this page to know what type of image to input: http://zone.ni.com/reference/en-XX/help/370281M-01/imaqvision/imaq_write_image_and_vision_info_file_...

Regards

NTA_LabView_certified_Developper.jpg
0 Kudos
Message 2 of 3
(2,804 Views)

Yes the image type is I16. Thanks!

0 Kudos
Message 3 of 3
(2,789 Views)