Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: Do we need to install vs 2012 on server to use ImageMagick?

$
0
0
Surprise for me is that, there is no error occurs. Below is my code:

if (!Page.IsPostBack)
    {
        MagickReadSettings settings = new MagickReadSettings();
        settings.Density = new MagickGeometry(300, 300);
        settings.FrameIndex = 0;
        settings.FrameCount = 1;
        using (MagickImageCollection images = new MagickImageCollection())
        {
            images.Read(Server.MapPath(@"2014_HPP_Plan_2-11-14_REV.pdf"), settings);
            int page = 1;
            foreach (MagickImage image in images)
            {
                image.Write(Server.MapPath("~/developeruploads/Snakeware.Page.jpg"));
            }
        }
    }
Please review code and let me know if there is any problem.

Thank You,

Vimal

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>