LDTP  3.5.0
 All Pages
blackoutregion

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

ImplementationDetails

Refer: Linux: http://cgit.freedesktop.org/ldtp/ldtp2/tree/ldtputils/__init__.py

Example

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

Dependency

Python Imaging Library - Linux: http://www.pythonware.com/products/pil/

Note
Linux only feature
Author
Shankar Ganesh shaga.nosp@m.n.gl.nosp@m.are@g.nosp@m.mail.nosp@m..com


Linux Desktop Testing Project