Hi all,
I'm using the IdentifyImageCommand C API method but I can only see the results on the standard output. I have tried to redirect the std::out to an own string stream, but the command keeps printing only to the console.
Any ideas on how could I get the results of the commando into a string (or string stream) variable?
Thanks,
Robert.
How do I get the results of identifyimagecommand using the C API?
-
- Posts: 12159
- Joined: 2010-01-23T23:01:33-07:00
- Authentication code: 1151
- Location: England, UK
Re: How do I get the results of identifyimagecommand using the C API?
freopen() can redirect stdout to a named file. I don't know if you can use that with string streams.
snibgo's IM pages: im.snibgo.com
Re: How do I get the results of identifyimagecommand using the C API?
Hey, that worked!
Thanks!
Thanks!