This project has moved. For the latest updates, please go here.

Rebuild for Q16-HDRI-AnyCPU Errors

May 1, 2016 at 7:12 AM
Dear experts,
I've download source code from
I want to modified files Magick.NET/Core/MagickImageCollection.cs, Magick.NET/Core/MagickImage.cs, Magick.NET/Core/MagickImageInfo.cs with add attribute Serializable() to make classs serializable, when i rebuild solution it raise many error that I don't understand (Also I've refer at

Someone please help me.
May 1, 2016 at 8:34 AM
You are probably getting an error message that you shouldn't be adding a Serializable attribute to the MagickImageCollection and the MagickImage class. Those classes can not be made serializable. What are you trying to accomplish?
Jul 8, 2016 at 12:05 PM
One of the benefit of making the MagickImage Class serializable is that we can put the MagickImage object into caches over network. we can put them in the in process cache but when you have more than one web server you need to have distributed cache or out-of-process cache which requires the object be serializable because you need serialize to move object over network.
I tried to cache the MCP format and put that one in the memory but that format require to save and real another file .cache and also the MPC file should write and load in the same machine.
What is the best way to cache the MagickImage obejct in out-of-process cache?
Jul 8, 2016 at 3:32 PM
Thank for Meys57, I used MIFF file format to solving my problem :)