Hello,
i have a problem with Magick.NET-Q16-AnyCPU 7.0.0.0008 and the PDF to Image conversion.
Before I'm using Magick.NET i used ImageMagick (Mogrify exe).
Also for example.
Original PDF: http://news.microsoft.com/download/presskits/windows/docs/windowstechnicalpreviewqg.pdf
ImageMagick
Magick.NET
The output is below the code.
As comparison:
ImageMagick | Magick.NET
I hope you could help me to make the Magick.NET image more rounded.
The current settings are to edged.
Thanks in Advance!
i have a problem with Magick.NET-Q16-AnyCPU 7.0.0.0008 and the PDF to Image conversion.
Before I'm using Magick.NET i used ImageMagick (Mogrify exe).
Also for example.
Original PDF: http://news.microsoft.com/download/presskits/windows/docs/windowstechnicalpreviewqg.pdf
ImageMagick
mogrify.exe -resize 115 -quality 100 -format jpg "*.pdf[0]"
Magick.NET
using (var read = System.IO.File.OpenRead("4.pdf"))
{
using (var write = System.IO.File.OpenWrite("4.jpg"))
{
MagickReadSettings settings = new MagickReadSettings();
settings.Density = new MagickGeometry(300);
settings.FrameIndex = 0;
settings.FrameCount = 1;
using (MagickImageCollection images = new MagickImageCollection())
{
images.Read(read, settings);
using (MagickImage horizontal = images.AppendHorizontally())
{
horizontal.Quality = 100;
horizontal.AdaptiveResize(115, 163);
horizontal.Write(write, MagickFormat.Jpg);
}
}
}
}
The output is below the code.
As comparison:
ImageMagick | Magick.NET
I hope you could help me to make the Magick.NET image more rounded.
The current settings are to edged.
Thanks in Advance!