PDA

View Full Version : Save Image filter: image saved?



haaver
March 26, 2007, 10:57:12
Hallo,

As I understood from the binarization filter, the parameters are
exchanged within Begin- and EndParameterTransfer functions.
So, the imaging save process is started when the string param
of "ImageName" is transfered, but...

...how can I determine when the image was actually finished saving?

\Sven

Stefan Geissler
March 26, 2007, 12:22:56
Hi Sven,

The function call to setParameter("ImageName"... returns after either the file could have been saved or a timeout occured. In case of timeout , the setParameter function returns "eINCOMPATIBLE_PARAM_VALUE".

Any problems with the filename or disc space are not handled. After the setParameter has returned, your application can check, whether the file to write exists on the harddisc.