odd issue with MagickWriteImage (error/exception 435)
Posted: 2011-08-28T04:55:06-07:00
Hello
I'm calling MagickWand functions in the DLL (ImageMagick-6.7.2-Q8) from a Basic compiler (Windows OS), and calling MagickWriteImage (my program is threaded). Generally (about 95%+ of the time) the image is written to the disk with no error (I capture the return value of the function & determine any exception/error string). Sometimes I get a fail return value with severity of 435 and exception details of 'unable to open image <filename>: Invalid argument @ error/blob.c/OpenBlob/2588'. However I see the actual image seems to be written ok on the disc. This seems odd to me - can anyone suggest something to me? I notice there seems to be some environment variables relating to max threads or CPU throttling etc - should I try these?
Thanks.
I'm calling MagickWand functions in the DLL (ImageMagick-6.7.2-Q8) from a Basic compiler (Windows OS), and calling MagickWriteImage (my program is threaded). Generally (about 95%+ of the time) the image is written to the disk with no error (I capture the return value of the function & determine any exception/error string). Sometimes I get a fail return value with severity of 435 and exception details of 'unable to open image <filename>: Invalid argument @ error/blob.c/OpenBlob/2588'. However I see the actual image seems to be written ok on the disc. This seems odd to me - can anyone suggest something to me? I notice there seems to be some environment variables relating to max threads or CPU throttling etc - should I try these?
Thanks.