Quantcast
Channel: magick Discussions Rss Feed
Viewing all articles
Browse latest Browse all 3693

New Post: possible .eps to .png bug

$
0
0
I have two .eps images. One converts to .png without any issues. The second is blurry. Please let me know if you can't download them to test with.

Image #1(good): https://www.dropbox.com/s/0dwhpjim8a9wd15/toon_block_logo_tm.eps?dl=0

Image #2(blurry): https://www.dropbox.com/s/4aa0pkptw1yfpsz/cartoon_network_logo_r.eps?dl=0

I have the following code:
        string sourceFilePath = <file>

        // Read as CMYK
        using (MagickImage cmyk = new MagickImage(sourceFilePath))
        {
            MagickReadSettings settings = new MagickReadSettings();
            settings.ColorSpace = ColorSpace.sRGB;

            // Read as RGBA
            using (MagickImage rgba = new MagickImage(sourceFilePath, settings))
            {
                // Copy alpha channel from RGBA to CMYK image
                cmyk.Composite(rgba, Gravity.Center, CompositeOperator.CopyAlpha);

                cmyk.Resize(3000, 0);

                cmyk.Write(@"C:\test.png");
            }
        }
The first image looks fine, the second image comes out blurry.

Thanks

Viewing all articles
Browse latest Browse all 3693

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>