Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
7
Task/Bitmap-Flood-fill/Python/bitmap-flood-fill-2.py
Normal file
7
Task/Bitmap-Flood-fill/Python/bitmap-flood-fill-2.py
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
# "FloodFillClean.png" is name of input file
|
||||
# [55,55] the x,y coordinate where fill starts
|
||||
# (0,0,0,255) the target colour being filled( black in this example )
|
||||
# (255,255,255,255) the final colour ( white in this case )
|
||||
img = FloodFill( "FloodFillClean.png", [55,55], (0,0,0,255), (255,255,255,255) )
|
||||
#The resulting image is saved as Filled.png
|
||||
img.save( "Filled.png" )
|
||||
Loading…
Add table
Add a link
Reference in a new issue