import os
from PIL import Image

src_img = r"C:\Users\Abhiram P M\Downloads\ChatGPT Image Aug 19, 2026, 03_59_43 PM.png"
dst_img = r"d:\iss\Franciscan Society\assets\images\shapes\vine-corner-watermark.png"

im_orig = Image.open(src_img)
print("Original size:", im_orig.size, "mode:", im_orig.mode)

# Let's inspect pixel values across the original
orig_rgba = im_orig.convert("RGBA")
pixels = list(orig_rgba.getdata())

# Find non-white / line pixels
non_white = [p for p in pixels if p[0] < 235 or p[1] < 235 or p[2] < 235]
print(f"Total pixels: {len(pixels)}, Non-white pixels: {len(non_white)}")
if non_white:
    print("Sample non-white pixels:", non_white[:10])
