Output of Convert command to Blob
Posted: 2014-02-13T14:41:09-07:00
I am using the following code in a Magic++ application...
Is it possible for the ConvertImageCommand to write its output to a Blob or use some other 'in memory' technique?
I am trying to avoid writing the output to disk via the command and then re-reading the output file into the application.
There are vague reference in some other posts concerning blobs, file descriptors, stdin/stdout and streams but I have been unable to locate a specific technique with examples.
Thanks.
Code: Select all
MagickBooleanType status = ConvertImageCommand(image_info, args_count, args, NULL, exception);
I am trying to avoid writing the output to disk via the command and then re-reading the output file into the application.
There are vague reference in some other posts concerning blobs, file descriptors, stdin/stdout and streams but I have been unable to locate a specific technique with examples.
Thanks.