ImageMagick creates PSD file, but with layer issues
===

What I'm trying to accomplish: I want to use ImageMagick to add a layer on top of an image, with a color blend. ImageMagick only has colorburn but not color, so I created the color blend layer in photoshop and saved it. Then, with ImageMagick, I combine the jpg I want to use with the psd, using the following command:

convert 1.jpg 1.jpg color.psd[2] -background white -alpha set test.psd

The file opens/displays perfectly in Photoshop. However, if I want to convert it to JPG via ImageMagick, it messes up.

convert test.psd[0] test.jpg - output:

![output 1](http://samgranger.com/0.jpg)

convert -flatten test.psd test.jpg - output:

![output 2](http://samgranger.com/flatten.jpg)

If I open the psd created by ImageMagick in Photoshop, and save it, and try converting again with "convert test.psd[0] test.jpg" I get the correct output.

![output 3](http://samgranger.com/photoshop.jpg)

I don't want to have to open the file in photoshop however.

What could I be missing?