I've a layered PSD in sRGB and a RGB image. I'm using Imagick to place this image over a given PSD's layer, simulating the Photoshop's compositing effects. The problem is that the resulting image is darker than the one I see on Photoshop. After some research, I've discovered that setting the colorspace to RGB at the end of the command produces the expected result. The problem is that the image that is in RGB becomes opaque.
sRGB x RGB Result

Expected result:

PSD:
http://www.filedropper.com/teste3602
Image:

Does anyone know how can I solve it?