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

Magick.NET on Azure?

May 27, 2013 at 10:32 AM
Does this work?

/ Jonas
Coordinator
May 27, 2013 at 11:06 AM
Edited May 27, 2013 at 7:43 PM
I have no idea if Magick.NET works on Azure. I think you have to test it yourself and post the results here ;-)
May 27, 2013 at 11:13 AM
Edited May 27, 2013 at 11:15 AM
:-)
Sep 11, 2014 at 1:14 PM
Hi, I just wanted to give an update on this post.
I was able to get Magick.Net to work on an Azure Cloud Service.

I used Magick to convert multi-page PDF files files to several single page tiff bi-tonal with G4 compression.
It works, but I'd recommend using the Q8 Magick.Net libraries for a small VM.

I spun up a virtual machine in Azure, an "Small" vm with 1 core and 1792mb of memory.
When I tried converting an PDF that had several pages and images in the file, the Q16 version of Magick used up all the systems memory and the program threw and exception. However with the Q8 version of Magick.Net on this small VM, I was able to process what I wanted.
Coordinator
Sep 11, 2014 at 1:29 PM
Edited Sep 11, 2014 at 1:31 PM
Thanks for the update.

You can also use the MagickReadSettings class and specify FrameCount and FrameIndex to only convert a set of pages. At this moment there is not a method that tells you the number of pages. But if you specify and invalid range you will get an exception. Performing the conversion page by page might be a good idea to reduce memory usage. Maybe I could add a new method to the MagickImageClass that will allow you to do this.