This project has moved and is read-only. For the latest updates, please go here.

EPS Resize Pixelated

May 26, 2015 at 1:14 PM
Edited May 26, 2015 at 1: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
May 26, 2015 at 11:05 PM
Edited May 26, 2015 at 11:05 PM
Are you sure that your eps file has smooth lines? I don't have Photoshop here.
May 27, 2015 at 7: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?
May 27, 2015 at 8:24 AM
May 27, 2015 at 10:34 AM
Yes your logo has the same issue.

Image
May 31, 2015 at 10: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.