| Server IP : 93.86.61.54 / Your IP : 216.73.216.206 Web Server : Apache/2.4.62 (Ubuntu) System : Linux rasin.ddns.net 6.8.0-124-generic #124~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue May 26 21:05:19 UTC x86_64 User : www-data ( 33) PHP Version : 8.4.22 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /usr/share/inkscape/extensions/__pycache__/ |
Upload File : |
o
5�a � @ s� d Z ddlmZ ddlZddlZddlmZ ddlmZ zddl m
Z ddlm
Z ddlmZ W n eyG ddlZddlZddlmZ Y nw G dd � d ej�Zd
d� Zedkr`e� �� dS dS )
z>
Embed images so they are base64 encoded data inside the svg.
� )�unicode_literalsN)�Image)�
inkex_gettext)�encodebytes)�encodestringc @ s( e Zd ZdZdd� Zdd� Zdd� ZdS ) �
EmbedImagez6Allow selected image tags to become embeded image tagsc C s |j dtjdd� d S )Nz--selectedonlyzembed only selected images)�type�help)�add_argument�inkex�Boolean)�self�pars� r �-/usr/share/inkscape/extensions/image_embed.py�
add_arguments- s zEmbedImage.add_argumentsc C s<