Page 1 of 1

Write a multilayered .psd file

Posted: 2012-04-01T14:02:42-07:00
by roberto.tognelli
I have two images, let's say

Code: Select all

$image_A = Image::Magick->new(size=>'100x100');
$image_A->read('xc:white');

$image_B = Image::Magick->new(size=>'100x100');
$image_B->read('xc:red');
and I want to originate a .psd file having those images as layers.

How can I do it from PerlMagick, please?


With regards
Roberto

Re: Write a multilayered .psd file

Posted: 2012-04-01T23:16:32-07:00
by anthony
You need to put both images into the same image list (in ParlMagick that is a array of images).
You then write the psd file from from that one array.