Load ImageMagickNet.Image from array of bytes

Apr 26, 2012 at 9:03 PM

I see that the constructor ImageMagickNet.Image takes either a string representing a file location or an instance of ImageMagickNet.Image.  However, I have an in memory byte array representing my image data.  Is there a way to construct an instance of ImageMagickNet.Image using the byte array?  Or will I have to save the data to disk and read it back in by filename?

Thanks,

Denise

Apr 26, 2012 at 9:19 PM

I think you would have to make a temp file as the method for ReadImages seems to require a filename.  

 

Jun 9, 2012 at 11:38 AM

That is the route I am taking also with my project (writing a temp file).