HEX
Server: Apache
System: Linux opal14.opalstack.com 3.10.0-1160.108.1.el7.x86_64 #1 SMP Thu Jan 25 16:17:31 UTC 2024 x86_64
User: curbgloabal_opal (1234)
PHP: 8.1.29
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //usr/share/inkscape/extensions/export_gimp_palette.pyo
�
��Yc@s(dZdZddlZyddlmZWn$ejed��ej�nXddlZddl	Z	dZ
iZd�Zd�Z
d
�Zeejddd�Zee�Zej�ee�dejd�dje�jd�dGHx)eej��D]\ZZeeGHqWdS(s}
Author: Jos Hirth, kaioa.com
License: GNU General Public License - http://www.gnu.org/licenses/gpl.html
Warranty: see above
ssodipodi:docnamei����N(tparsespThe export_gpl.py module requires PyXML.  Please download the latest version from http://pyxml.sourceforge.net/.ufillustrokeu
stop-coloruflood-colorulighting-colorcCsAt|�|j�r=|j}x|D]}t|�q&WndS(N(t
checkStylet
hasChildNodest
childNodestwalk(tnodetchildstchild((s5/usr/share/inkscape/extensions/export_gimp_palette.pyRs

	
cCs�t|d�r�|j�r�|jd�}|dkr�tj|�}xHttt��D]1}t||j�krXt	|t|�qXqXWq�ndS(Nt
hasAttributeststylet(
thasattrRtgetAttributetsimplestylet
parseStyletrangetlent	colortagstkeystaddColor(Rtsatstylestc((s5/usr/share/inkscape/extensions/export_gimp_palette.pyR scCsWtj|�rStj|�}tj|�j�td|d|d|df<ndS(Ns%3i %3i %3i iii(R
tisColort
parseColort
formatColoriatuppertcolors(tcolR((s5/usr/share/inkscape/extensions/export_gimp_palette.pyR)sitrsGIMP Palette
Name: %s
#tsvgt.(ufillustrokeu
stop-coloruflood-colorulighting-color(t__doc__tDOCNAMEtsystxml.dom.minidomRtinkexterrormsgt_texitR
RRRRRtopentargvtstreamtdomtclosetgetElementsByTagNameRtsplittsortedtitemstktv(((s5/usr/share/inkscape/extensions/export_gimp_palette.pyt<module>s*				

,