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

EPS Resize Pixelated

May 26, 2015 at 12:14 PM
Edited May 26, 2015 at 12:20 PM
Hi,

I can't seem to get a decent resize result with a EPS file.
var settings = new MagickReadSettings {Density = new PointD(150)};

                using (var image = new MagickImage(FileName, settings)) {
                    image.Resize(1024, 1024);
                    image.Format = MagickFormat.Png;
                    image.Write(filePath);
                }
I have a AI file and an equivalent EPS file. The AI resizes smooth as expected. The EPS file is very pixelated. I've played with the Density and it doesn't seem to help. Any ideas?

AI
https://drive.google.com/file/d/0B2JSxc2d-7dNSzZHM2tMc2tGTEk/view?usp=sharing

EPS
https://drive.google.com/file/d/0B2JSxc2d-7dNSlhqemNXWkdCekE/view?usp=sharing

EPS Result:
http://i.imgur.com/43ac0KT.png
Image
Coordinator
May 26, 2015 at 10:05 PM
Edited May 26, 2015 at 10:05 PM
Are you sure that your eps file has smooth lines? I don't have Photoshop here.
May 27, 2015 at 6:33 AM
Honestly.... I'm not sure, I searched the web for some files to test with. As the AI is smooth and come with the EPS, then I assume yes!

Do you have a test EPS?
Coordinator
May 27, 2015 at 7:24 AM
May 27, 2015 at 9:34 AM
Yes your logo has the same issue.

Image
Coordinator
May 31, 2015 at 9:25 AM
I am getting a different image when I use the code from your first post: https://www.dropbox.com/s/iyurz1uh3cyo1c7/Magick.NET.png?dl=0.