ImageMagick version: 7.0.5-Q16-HDRI for Windows
I have an image of a sphere that was created in a 3d studio max (Lime_Correct). Nowadays these renderers have a cool feature where you can break a rendered image into its raw components, in this case the base color of the sphere (Lime_SourceColor) and the shadows that fall on it (Lime_Shadows) and then recombine in post-production.
I'm able to achieve this in Photoshop by layering the two images and using a 'Multiply' blending mode. But when I try to recreate in ImageMagick I can't duplicate the effect (the composited image does not match the original, colors are off). Here is the command I was using:
Code: Select all
magick Lime_SourceColor.tif Lime_Shadows.tif -compose Multiply -composite -depth 32 Lime_IM.tif
- To match the original render, I know the underlying component images must be 32-bit, in this case I'm using 32-bit TIFs
- I thought perhaps it was a colorspace issue but I've tried every combination of RGB and sRGB in the above code and nothing gets output exactly correct
- Not sure if this is some limitation of ImageMagick's ability to work with 32-bit images, but assume it was probably my noobish understanding of colorspaces
- All the files I'm using are below if anyone wants to take a look
Lime_Shadows.tif
Lime_Correct.tif (this is the correct output I'm trying to match)
Lime_Sphere.psd (this shows how compositing works properly in photoshop, you can see if you toggle on/off LimeCorrect layer)