LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

imaq1394SaveBuffer - PNG and BMP OK, but JPG does not work?

Hi,

I have a C++ application  which saves images as bmp-files using the imaq1394SaveBuffer function, and this works fine.

Now, I want my application to save these images as JPG, but I can't make it work. If I change the file name from "c:\sample.bmp" to "C:\sample.png", it works as expected (The app now stores the images as png). But if I try to change the filename to "c:\sample.jpg", no image is stored, and an error code is returned (-1074397113)

The documentation states that the supported formats is BMP, PNG, and JPG for the imaq1394SaveBuffer function, so what am I doing wrong here?


0 Kudos
Message 1 of 1
(3,102 Views)