.NET Power Tip 13: Converting Images with ImageMagick

Very often, .NET applications need to convert images.

Meet ImageMagick!



What is Image Magick?

Say you have an image of the hulk in JPG format that you want to convert:





How would you programmatically convert this image in to another format, say *.png? ImageMagick does the trick:


And thats it! ImageMagick figures out what you want based on the file extension and just does it! *Magick* 🙂


But, you are not at all restricted to the common formats. ImageMagick can deal with over 200(!) formats, including PDF, TIFF, DPX, EXT, WebP, Postscript, DFAX and many more.

Say you want to convert jpg to pdf? No problem:


It is almost too easy. 🙂



Of course ImageMagick allows you to add parameters for scaling, rotation, alpha and anything else that you would like to to. The list of parameters is huuuge:



If you are working with images, you just need it. Get it at:


Leave a Comment

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.