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

New Post: Multilayer psd, png with transparency displayed with errors/wrong colors

$
0
0
Hi,
I'm using Magick.NET-7.0.0.0007-Q16-AnyCPU-net40-client to create a multilayer psd file.
When adding png files with transparency to the imagecollection, it's displayed with random colors/ noise on the right side.
This is a really basic sample code to reproduce the issue:
  using (MagickImageCollection images = new MagickImageCollection())
      {
        var magSet = new MagickReadSettings();
        magSet.Format = MagickFormat.Png;
        var currImg = new MagickImage(@"c:\temp\7.png", magSet);
        images.Add(currImg);

        currImg = new MagickImage(@"c:\temp\6.png", magSet);
        images.Add(currImg);
        images.Write(@"c:\temp\output23.psd");
      }
7.png is just a random png pic, will not be visible in the final psd since it's in the layer 0
6.png is the png pic with transparency.
All the .png file and an output .psd file can be downloaded from here
TEMP.7z - dropbox

btw, i had this issue also with a previous version of imagemagick, (7.0.0.something, perhaps 5)
I'm using the library in a asp.net mvc app, .net framework 4.5

Viewing all articles
Browse latest Browse all 3693

Trending Articles



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