$ 0 0 Hi Farouk, Felix has helped me solve the problem. I should save mask image as TIF instead of TIFF format.