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
(3,494 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: https://www.ni.com/docs/en-US/bundle/ni-vision-labview-api-ref/page/imaqvision/imaq_write_image_and_...

Regards

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

Yes the image type is I16. Thanks!

0 Kudos
Message 3 of 3
(3,475 Views)