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,
sorry for giving feedback about this bug so late;
I've found other scenarios where it happens.
If i do not include the first image (xxx.png) the resulting psd file is 8bit grayscale and all looks ok, but if i include it, all the other images are corrupted.

I'm using Magick.NET-7.0.0.0011-Q16-AnyCPU-net40

Follows the code and a link to the images i've used + the resultingpsd file
  using (MagickImageCollection images = new MagickImageCollection())
      {
          var f0 =  new MagickImage(@"c:\temp\IMG\xxx.png"); 
        images.Add(f0);
        var currImg = new MagickImage(@"c:\temp\IMG\4.png");
        images.Add(currImg);
        currImg = new MagickImage(@"c:\temp\IMG\5.png");
        images.Add(currImg);
        currImg = new MagickImage(@"c:\temp\IMG\19.png");
        images.Add(currImg);
        currImg = new MagickImage(@"c:\temp\IMG\20.png");
        images.Add(currImg);
        currImg = new MagickImage(@"c:\temp\IMG\21.png");
        images.Add(currImg);
        images.Write(@"c:\temp\img\output.psd");
      }
Link to Dropbox : IMG.7z

Thanks for your time!

Viewing all articles
Browse latest Browse all 3693

Trending Articles



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