Search found 2 matches

by sswiercy
2014-03-07T07:46:58-07:00
Forum: Bugs
Topic: Loading images asynchronously
Replies: 3
Views: 6159

Re: Loading images asynchronously

Thank you for your answer. MagickWandGenesis did not help for me. Here is a code snippet that should reproduce the error. Note that you might have to run it several times until the error occurs. #include <string> #include <fstream> #include <sstream> #include <boost/thread.hpp> #include <wand ...
by sswiercy
2014-03-07T06:05:24-07:00
Forum: Bugs
Topic: Loading images asynchronously
Replies: 3
Views: 6159

Loading images asynchronously

I'm using the MagickWand C API (6.8.7-7-Q16-x86-dll) and I encounter errors from time to time when loading multiple images concurrently. Consider the following piece of code: void loadImage(const std::string& filename) { std::ifstream file(filename,std::ifstream::binary); std::ostringstream blob ...