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

New Post: svg to png - transparent background

$
0
0
Trying to make white background for an tif image, but getting the jpg with same black background as tiff.

using the below code:

using (MagickImage image = new MagickImage())
                        {
                            image.BackgroundColor =System.Drawing.Color.White;
                            image.Read(filePath);
                            image.Format = MagickFormat.Jpg;
                            image.Write(convertDir + "\\" + file + ".jpg");
                        }
what's going wrong here?

Viewing all articles
Browse latest Browse all 3693

Trending Articles



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