পিললোউ constant
🌈পিললোউ constant কি?
📋পিললোউ constant হলো ধ্রুবকের মান বের করার পদ্ধতি।
⚒️পিললোউ constant ধ্রুবকের মান বের করতে ব্যবহৃত হয়।
পিললোউ constant ধ্রুবকের মান বের করার উদাহরণ।
pillow
from PIL import Image, ImageChops
image = Image.open("./images/author.jpg").convert("L")
constant = ImageChops.constant(image, 128)
print(constant.getpixel((0, 0)))