process-masks image1_mask.tif [image2_mask.tif ...]
Transfers white areas in each mask (indicating pixels to keep) as black areas in other masks. Areas to be blended need to be indicated as shades of grey.
Pass mask tif files as program arguments, originals are renamed and replaced by processed files.
Note masks can be any bit depth, but with no alpha channel.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
October 2006, Bruno Postle <bruno AT postle.net>