Skip to content

Instantly share code, notes, and snippets.

View abdasis's full-sized avatar
🚀
Happy with Code

Abd. Asis abdasis

🚀
Happy with Code
View GitHub Profile
@abdasis
abdasis / kms
Created November 15, 2021 07:28 — forked from Twolk/kms
KMS server Windows
Online kms host address:
--------
kms.digiboy.ir
54.223.212.31
kms.cnlic.com
kms.chinancce.com
kms.ddns.net
franklv.ddns.net
k.zpale.com
m.zpale.com
@abdasis
abdasis / python-pillow-image-change-background.py
Created November 13, 2021 03:25 — forked from namieluss/python-pillow-image-change-background.py
Replace a Color (RGB) from an Image using Python Pillow
from PIL import Image
img = Image.open("test_image.jpg")
img = img.convert("RGB")
datas = img.getdata()
new_image_data = []
for item in datas:
# change all white (also shades of whites) pixels to yellow