Blackoutregion

From LDTP

Table of contents

Syntax

blackoutregion (infile,outfile,topx,topy,botx,boty)

Description

Blacks out the region in the image given by

top-coords - topx,topy bottom-coords - botx,boty

of the region

Refer: ldtputils.py (http://forge.novell.com/modules/xfmod/cvs/cvsbrowse.php/ldtp/pyldtp/ldtputils.py)

Example

blackoutregion ('in.jpg','out.jpg',100,100,200,200)

Dependency

Python Imaging Library (http://www.pythonware.com/products/pil/)