LDTP
2.3.1
|
blackoutregion(infile, outfile, topx, topy, botx, boty)
Blacks out the region in the image given by
top-coords - topx,topy bottom-coords - botx,boty
of the region
Refer: http://cgit.freedesktop.org/ldtp/ldtp/tree/python/ldtputils.py
blackoutregion('in.jpg','out.jpg',100,100,200,200)
Python Imaging Library - http://www.pythonware.com/products/pil/