Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions WhatsApp logo spoofer
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
#!/usr/bin/env python
import PIL
from PIL import Image
import numpy as np



image_path = Image.open("./qr.png")
image_pathFiltre = Image.open("./filtre.png")

def spoof(image_path, image_pathFiltre):
image_path.paste(image_pathFiltre, (0, 0), image_pathFiltre)
image_path.save('tmp.png',"PNG")


spoof(image_path,image_pathFiltre)

imageFinal = Image.open("tmp.png")
imageFinal.show()