Ещё немного про base64.
Собрал пример со встроенной в код картинкой. Это иконка для окна на PySide2. Файл кодирован в base64 и просто сохранён в переменной.
Для использования этих данных даже не пришлось сохранять их в новый файл. Иконка создаётся на лету с помощью метода QPixmap.loadFromData()
...
raw_data = base64.decodebytes(ico_encoded)
ico = QPixmap()
ico.loadFromData(raw_data, "PNG")
...
🌎 Полный пример смотрите в gists.
#libs#tricks#qt
🧬Welcome to RGB World!! 🧬
🎟Want to get the ticket to RGB's Ecosystem?🎟
Join Now👉https://app.galxe.com/quest/iVUN3rpKWghejAxArpB9Xy/GCS9Xtg79w
💰You will share a 520,000 $RNA Airdrop Prize Pool and experience the amazing opportunities BiHelix_ has in store for you in the coming weeks! 🪂🪂
#Bitcoin $BTC #UTXO#Giveaways2024
CELL Studio Secures Series A Funding
CELL Studio, a modular Bitcoin layer 2 platform, has successfully closed its Series A funding round with contributions from UTXO Management, CMS Holdings, and PAKA. The amount raised remains undisclosed.
!Funding Round
#Funding#Bitcoin#Layer2#CELLStudio#UTXO#Cryptocurrency#CMSHoldings#PAKA