3
I’m using the library Magick.NET to convert an EPS file > JPEG. However the result is not pleasant because independent of the resolution (DPI) and size(Width and Height) that I put the image comes out pixelated and with the wrong colors... Following example:
Image saved in Photoshop:
Because it is a vector, the correct one would be to save it in any dimension quality but that’s not what’s happening. Follow the code I’m using.
using (MagickImage _image = new MagickImage(image.Path))
{
_image.Resize(3000, 3000); //Maior lado = 3000px
_image.Density = new Density(300); //Set DPI = 300
_image.Write("teste.jpeg"); //
}
Is there any setting or parameter that I should pass to improve this color resolution and correction so that it is EQUAL to EPS?