Questions and postings pertaining to the usage of ImageMagick regardless of the interface. This includes the command-line utilities, as well as the C and C++ APIs. Usage questions are like "How do I use ImageMagick to create drop shadows?".

I used to use -compose Dst_Out img.png mask.png to apply some masks where the white part is kept and the black part is cut off but now it appears that it keeps whats in the black part and cuts out whats in the white. Tried changing it to -compose Dst_In img.png mask.png but had no luck. Is there a way to tell it to do it the old way?

Please always provide your IM version and platform and provide your full command line and if possible your input and output images. That way we can test with the corresponding version of IM and your command and images.

Your syntax may be wrong. Read your input images before -compose xxx -composite, if using the convert .... compose xxx -composite syntax, which is more flexible than composite. Your comments are confusing since you do not give the full command line.

Your syntax is not correct as I explained above. For IM 7 you should be using magick not convert. IM 7 is not forgiving as IM 6 with syntax errors. Your command does not work for me even in IM 6. Do you have an example of a good result from IM 6 that you made before.

Right now I am not sure what result you want, so I do not know how to fix the issue. Are you sure you used dst_out before and it worked?