[magick-users] Photoshop Layers full name?

David Christensen dwc at dwci.net
Wed Sep 13 14:47:36 CDT 2006


On Sep 13, 2006, at 2:02 PM, Alex Robinson wrote:

>> $img->Get('[layer-name]').
>
> I didn't realise you could read photoshop files and access their  
> layers - that is, cough, wicked cool.
>
> However I'm stumped by actually putting it into practice wit  
> PerlMagick. I can see the layer info if I run identify -verbose  
> from the command line, but...
>
> I'm trying
>
> for (my $x = 0; $image->[$x]; $x++) {
>   my $layer_name = $image->[$x]->Get('[layer-name']);
> }

Recompiled and lost that ability (6.2.5 -> 6.2.9), with that  
attribute name at least.  I don't have time to mess with the config  
flags right now, but I'll poke around later tonight and give a status  
update of what I find.  It's possible the attribute name changed  
between the versions.

David





More information about the Magick-users mailing list