psd layer


<?php
exec("convert input.psd[0] output.jpg");
?>

Working on one psd layer. Layer [0] contains the full image and the other layers e.g. text layer will have a different index.