TechNotes 2 on offline photo-masking