a
    ”˜ëj  ã                   @   s$   d Z ddlmZ eedœdd„ZdS )zUtilities for image processing.é    )ÚAny)ÚnameÚreturnc                 C   s(   | dv rd| › d�}t |ƒ‚t| ƒ‚d S )N>   Zimage_to_data_urlZencode_imageú'zÛ' has been removed for security reasons.

Usage of this utility in environments with user-input paths is a security vulnerability. Out of an abundance of caution, the utility has been removed to prevent possible misuse.)Ú
ValueErrorÚAttributeError)r   Úmsg© r	   úY/mnt/bigstor/www/usecases/.venv/lib/python3.9/site-packages/langchain_core/utils/image.pyÚ__getattr__   s
    
ÿr   N)Ú__doc__Útypingr   Ústrr   r	   r	   r	   r
   Ú<module>   s   