|
Re: jpeg conversion for dashboard software
I'm not sure what language or platform you are using, but two approaches you might try.
Try to use NIIMAQ.dll. This is how the LabVIEW, Java, and C/C++ code is doing it on the robot, and how LV is doing it on the dashboard. I can't be certain, but I believe that the Windows host library probably has the entrypoint for decoding to a buffer that is easily called using C parameter conventions.
Second approach would be to download the JPEG consortium code. This is where most of the JPEG decoders come from anyway, and internally, it is definitely stream based and you can point the stream to a buffer rather than a file.
Greg McKaskle
|