Hello,
yesterday I came across the following: If you save the PGM-Image as a BMP with the following command
convert 00.pbm 00.bmp
you ran into trouble with Labview (because the image is saved in a packed format). If you save the image with this command
convert +compress 00.pbm 00.bmp
Labview displays the image correctly (because packing is now disabled). I suppose, that Labview (at least the Linux version) cannot handle compressed BMP's correctly. You can verify the same with the Gimp. If you enable RLE packing, the image is distorted. If you disable it, everything is o.k.
By the way, I wasn't able to display a PNG Image (but I tried not all variants of saving it). JPG is not of interest, because the image
s that must be processed are not allowed to be compressed with information loss (o.k., I can use 0% compression mode, but then I can use BMP).
Can you verify this behavior with Windows too?
The PGM-Image is created by a C-Programm written by me.
This program acts as a driver for a Leutron LFS-AT framegrabber board and should be included in Labview as a CIN (if I find a way to display the images 🙂
Thanks in advance,
Armin