OpenAdaptAI / OpenAdapt

AI-First Process Automation with Large ([Language (LLMs) / Action (LAMs) / Multimodal (LMMs)] / Visual Language (VLMs)) Models
https://www.OpenAdapt.AI
MIT License
735 stars 95 forks source link

Convert to PNG base64 #786

Open abrichr opened 1 week ago

abrichr commented 1 week ago

Feature request

Screenshot.base64 should support PNG:

https://github.com/OpenAdaptAI/OpenAdapt/blob/main/openadapt/models.py#L770

https://github.com/OpenAdaptAI/OpenAdapt/blob/main/openadapt/utils.py#L313

Motivation

Prompt models with lossless images