I need a clarification about the plugin function getImageCount().
This function is documented as being able to return error, but it's the only function of those that can set error that is also expected to return a value (i.e. the number of frames).
I'm assuming that in case of error the function is also to return false (0), and that it's not enough to just set the error. I'm assuming that, since at least 1 image is expected by PM, a return value of 0 would be considered an error.
If this is the case, it should be mentioned in the Procedure comments.
I need a clarification about the plugin function
getImageCount()
.This function is documented as being able to return error, but it's the only function of those that can set error that is also expected to return a value (i.e. the number of frames).
I'm assuming that in case of error the function is also to return false (0), and that it's not enough to just set the error. I'm assuming that, since at least 1 image is expected by PM, a return value of 0 would be considered an error.
If this is the case, it should be mentioned in the Procedure comments.
Se also: