When I wrote this program, I wanted to create irregular mosaics. But at last I did not liked too much the resulting images. Write me if you have any questions about this feature.
How to create a mosaic with a MaskFile
An example is shown below.
Original Image :