03-13-2013 02:30 PM
When I bring in my bitmap, the ERROR 16 occured at READ BMP Header Info.VI Possible reason(s) Labview Image not found.
So, the size of this bitmap is 89.5kB, Dimension 1029 x 733, width 1029 Pixel, Height 773, Bit Depth 24.
The original bitmap is 1.83 MB Dimension 1600 x1200, width 1600 Pixels x 1200 Pixels, Bit Depth 8. I took this bitmap and resized it...now the resized image (compressed) cannot be brought into my VI. The original VI works.
What can I do to allow the compressed image to be read?
03-13-2013 02:53 PM
I would guess LV doesn't recognize something about the format of your BMP. Certainly the size doesn't seem right for an uncompressed 24 bit bitmap, which should come up to ~2 MB at that resolution.
I would suggest trying to save the image as a PNG and open it using the PNG VI. If that doesn't help, try saving it as an uncompressed BMP. If that doesn't help, upload the image.
03-14-2013 03:32 AM - edited 03-14-2013 03:39 AM
What compression was used by the conversion tool to compress this bitmap? The built-in LabVIEW Bitmap library does not support any compressions such as RLE or the newer JPG compression that have been added to newer Windows versions.
Since the diagram of those VIs is open it would have been easy to single step into the Read BMP Header Info.vi and see in there that the VI aborts on the "bitmap is compressed" flag.
And the solution is to use either directly JPG or PNG files and read them with the according VIs.