streamname = malloc(sizeof(char) * str_length);
snprintf(streamname, str_length, "streamin.%s", format);
memcpy(image_info->filename, streamname, str_length);
+ debug_printf(DEBUG, image_info->filename);
input_image = BlobToImage(image_info, in->data, in->size , exception);
-
- input_image->properties = NULL;
- if (exception->severity != UndefinedException)
+ if (exception->severity != UndefinedException) {
+ fprintf(stderr, "%s\n", GetExceptionMessage(exception->error_number));
CatchException(exception);
+ }
+
+ input_image->properties = NULL;
if (input_image == NULL) {
DestroyImageInfo(image_info);