import base64
import os

source = r"C:\Users\ASUS\.gemini\antigravity\brain\69907928-efa2-41bd-997d-edfadc3e88d6\uploaded_image_1766890026822.jpg"

try:
    if os.path.exists(source):
        with open(source, "rb") as image_file:
            encoded_string = base64.b64encode(image_file.read()).decode('utf-8')
            print(f"B64_START")
            print(encoded_string)
            # We only print the start/end because it might be large
            print(f"B64_END")
    else:
        print("SOURCE NOT FOUND")
except Exception as e:
    print(f"ERROR: {str(e)}")
