Write a multilayered .psd file

PerlMagick is an object-oriented Perl interface to ImageMagick. Use this forum to discuss, make suggestions about, or report bugs concerning PerlMagick.
Post Reply
Posts: 1
Joined: 2012-04-01T13:53:32-07:00
Authentication code: 8675308

Write a multilayered .psd file

Post by roberto.tognelli »

I have two images, let's say

Code: Select all

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

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

How can I do it from PerlMagick, please?

With regards

User avatar
Posts: 8883
Joined: 2004-05-31T19:27:03-07:00
Authentication code: 8675308
Location: Brisbane, Australia

Re: Write a multilayered .psd file

Post 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.
Anthony Thyssen -- Webmaster for ImageMagick Example Pages

Post Reply