Read Layer Name

Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".
Post Reply
broscott

Read Layer Name

Post by broscott »

via Identify Verbose, my php echos back a laundry list, which includes layer names, dimensions, and coordinates.

I am using PHP exec lines.

<?php
echo "<pre>"; system("identify -verbose test.psd"); echo "</pre>";
?>

My question: How can I specify an item from this verbose list, i.e. "Label" to be returned to a variable?
Bonzo
Posts: 2971
Joined: 2006-05-20T08:08:19-07:00
Location: Cambridge, England

Re: Read Layer Name

Post by Bonzo »

Check out this page and there may be something you can modify: http://www.rubblewebs.co.uk/imagemagick ... readin.php
Post Reply