Quantcast
Viewing all articles
Browse latest Browse all 3693

New Post: Confusion when resizing .eps file

I have this file located here:

https://www.dropbox.com/s/4aa0pkptw1yfpsz/cartoon_network_logo_r.eps?dl=0

What I am trying to do is take an .eps, convert it to .png and resize it where the width =3000. It does it, but the resulting image is fuzzy. Thoughts as to what I am doing wrong?
        var destinationStream = new FileStream(@"C:\test.png", FileMode.Create);

        //this is the image in dropbox
        string sourceFilePath = sourceFile;

        MagickImage magickImage1 = new MagickImage(sourceFilePath);

        magickImage1.Strip();
        magickImage1.Resize(3000, 0);
        magickImage1.Format = MagickFormat.Png;
        magickImage1.Density = new MagickGeometry(300, 300);

        destinationStream.SetLength(0);

        magickImage1.Write(destinationStream);
Thanks

Viewing all articles
Browse latest Browse all 3693

Trending Articles