16-bit images can only be saved in .png, .jpeg2000 and .tiff formats. (.bmp and .jpeg files only support 8-bit and RGB images) The chart below details which supported file formats are compatible with each image type.
Note that this article replaces KnowledgeBase 3T28GSRX :Error -1074396080 at IMAQ WriteBMPFile or IMAQ WriteJPEGFile. Some NI manuals may still reference the previous document. If you were redirected from the previous KnowledgeBase URL, please update your bookmarks accordingly.
Image Type | Image Type and File Format Compatibility | ||||
---|---|---|---|---|---|
BMP | JPEG 2000 | JPEG | PNG | TIFF | |
U8 | |||||
U16 | |||||
I16 | |||||
SGL | |||||
CSG | |||||
RGB U32 | |||||
HSL U32 | |||||
RGB U64 |
Compatible |