Page 1 of 1

Magick++ Bitmap without writing a file?

Posted: 2010-08-03T14:11:42-07:00
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.

Re: Magick++ Bitmap without writing a file?

Posted: 2010-08-05T13:03:04-07:00
by newsoundwave
Please help with this issue.

Re: Magick++ Bitmap without writing a file?

Posted: 2010-08-05T15:12:27-07:00
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.