<p>I was recently asked to come up with a script that will allow the end user to upload a PSD (Photoshop) file, and split it up and create images from each of the layers.</p>

<p>I would love to stay with PHP for this, but I am open to Python or Perl as well.</p>

<p>Any ideas would be greatly appreciated.</p>

[{'answer_id': 65239, 'author': 'Loren Segal', 'author_id': 6436, 'author_profile': 'https://Stackoverflow.com/users/6436', 'pm_score': 6, 'selected': True, 'text': "<p>Oops, it's</p>\n\n<pre><code>$('#mySelect').attr('size', value)\n</code></pre>\n"}, {'answer_id': 65261, 'author': 'Community', 'author_id': -1, 'author_profile': 'https://Stackoverflow.com/users/-1', 'pm_score': 1, 'selected': False, 'text': '<pre><code>$("#mySelect").bind("click", function(){\n    $("#myOtherSelect").children().remove();\n    var myArray = [ "value1", "value2", "value3" ];\n    for (var i = 0; i &lt; myArray.length; i++) {\n        $("#myOtherSelect").append( \'&lt;option value="\' + myArray[i] + \'"&gt;\' + myArray[i] + \'&lt;/option&gt;\' );\n    }\n    $("#myOtherSelect").attr( "size", myArray.length );\n});\n</code></pre>\n'}]
['https://Stackoverflow.com/questions/65209', 'https://Stackoverflow.com', 'https://Stackoverflow.com/users/9176/']