Backround RED PDF to IMAGE

Jan 21, 2015 at 3:41 PM
When I convert a PDF to IMAGE and I try to print from the browser, the background of the images are RED.

Any idea why?

Thanks
            string imgString;
            List<string> imgArray = new List<string>();

            MagickReadSettings settings = new MagickReadSettings();
            settings.Density = new MagickGeometry(150, 150);

            try
            {
                using (MagickImageCollection images = new MagickImageCollection())
                {
                    images.Read(file.InputStream, settings);

                    foreach (MagickImage image in images)
                    {
                        using (MemoryStream ms = new MemoryStream())
                        {
                            image.Write(ms, MagickFormat.Jpg);
                            imgString = image.ToBase64();
                            imgArray.Add("data:image/jpg;base64," + imgString);
                        }
                    }
                    return imgArray;
                }
            }
            catch (MagickErrorException)
            {
                throw;
            }
Jan 22, 2015 at 7:11 AM
I think you are posting your message on the wrong discussion board. The board for Magick.NET can be found here: https://magick.codeplex.com/discussions