Magick++ Bitmap without writing a file?

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
newsoundwave

Magick++ Bitmap without writing a file?

Post by newsoundwave »

Hi. In MFC/Active X, I need a picture control that, based upon certain settings, will update to have a bitmap.

Currently, I'm using the Magick++ API to build the image as I go, and to write the final image to a bitmap, then update the picture control's bitmap with the image created.

Is there any way, however, that I can do this without having to write this to disk?

Currently, this image needs to be refreshed many times during the course of this program, and could potentially slow down the program's reaction time by quite a bit.

Also, it may be necessary in the future for me to run this on a computer that doesn't allow disk writing.

Thanks for your help.
newsoundwave

Re: Magick++ Bitmap without writing a file?

Post by newsoundwave »

Please help with this issue.
User avatar
fmw42
Posts: 25562
Joined: 2007-07-02T17:14:51-07:00
Authentication code: 1152
Location: Sunnyvale, California, USA

Re: Magick++ Bitmap without writing a file?

Post by fmw42 »

I am really not an expert on this and don't use API (only command line), but there is an in-memory format that is kept only within one command line, called mpr. see http://www.imagemagick.org/Usage/files/#mpr

That is the best I can offer.

Hopefully someone more knowledgeable will be able to provide more definitive answers.
Post Reply