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

New Post: Create a multi layer (PSD) file

$
0
0
Hi,

I'm looking a lot of documentation but I don't find a real answer about my problem. I tried some code but it doesn't work.

My question is : is it possible to create a PSD file with some layers from 2 or more jpg files ?

I tried with this code with no result (GIMP or Paint.NET do not show me multiple layers) :
using (MagickImageCollection image = new MagickImageCollection())
{
    MagickImage img1 = new MagickImage(@"C:\temp\img1.jpg");
    img1.Label = "LBL1";
    MagickImage img2 = new MagickImage(@"C:\temp\img2.jpg");
    img2.Label = "LBL2";
    image.Add(img1);
    image.Add(img2);
    image.Write(@"c:\temp\result.psd");
}
Does someone already tried successfully ?

Viewing all articles
Browse latest Browse all 3693

Trending Articles



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