04-09-2008 07:51 PM
|
Lossless? (true) specifies the type of compression used to save the image. Set this parameter to TRUE to save the image with no loss of data. Set this parameter to FALSE to save the image with a loss of data. |
IMAQ Write PNG File 2
|
Image Quality specifies the amount of compression applied to the image. Image Quality can range from 0 to 1000. The default value is 750. The higher the value, the less compression the VI applies.
|
Ironically however, from wikipedia (http://en.wikipedia.org/wiki/JPEG_2000), as well as the labview website itself (http://zone.ni.com/devzone/cda/tut/p/id/2884) it makes the claim that the png file is the one which is lossless. (Also for some odd reason the help file regarding the write png file is talking about jpeg compression...)
Is the built-in helpfile wrong, and PNG files are indeed lossless?
Thanks,
Ming
Also, I seem to be getting an "invalid image type" error when I try to feed my images into the various write commands (simultaneously trying out bmp, jpeg, etc). I've read that many of these only take 8-bit images, but I was under the impression that the png and jpeg format should work fine with 16 bit images?
04-09-2008 08:06 PM
04-10-2008 10:28 AM
06-09-2011 11:56 AM
I also cant seem to get the jpeg2000 routine to write 16bit greyscale images. They come out at with 256 greys...
Any news on this? Perhaps another way / parameters to call the dll?