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?".
So the transparency area is all black and the images are all white.
Now what I would like to do is extract from image.png into as many files as there are white mask images. Is there some way I can do this? Or is there a better way.
If your background is not a pure color, then you might need to use the -f option. Also if there is noise in the image, you may want to use the -d option. There is no provision for you to provide your own mask. The script generates its own mask from the background color and fuzz value.
If you background is not nearly constant, then if you have a mask, you may use it to convert your input image so that it has a constant color background. But that is your preprocessing before providing that result to the script.