Skip to content

Instantly share code, notes, and snippets.

View krypton-byte's full-sized avatar
:copilot:
I may be slow to respond.

PUJA krypton-byte

:copilot:
I may be slow to respond.
View GitHub Profile
# create: Krypton-byte
# Python Version
def stickerExif(stickerPackID, packname, author, googlelink, applelink):
code = [0x00,0x00,0x16,0x00,0x00,0x00]
exif = {"sticker-pack-id": stickerPackID,"sticker-pack-name": packname,"sticker-pack-publisher": author,"android-app-store-link": googlelink,"ios-app-store-link": applelink}
if (length:=exif.__str__().__len__()) > 256:
length -=256
code.insert(0, 0x01)
else: