view inkscape/MB_Frame.inx @ 1106:b5145de15ace

Fix issue of alpha channel not working. Cairo is referene design of our graphic engine. It always trade an image as pre-multiplied, but imlib2 is not. It causes no opacity effects for the images loaded with imlib2. It is fixed by pre-multipling images loaded by imlib2.
author Thinker K.F. Li <thinker@codemud.net>
date Mon, 06 Dec 2010 01:05:32 +0800
parents ec62453bbb2b
children
line wrap: on
line source

<inkscape-extension>
    <name>Frame</name>
    <id>MadButterfly.Frame</id>
	<dependency type="executable" location="extensions">MB_Frame.py</dependency>
	<dependency type="executable" location="extensions">inkex.py</dependency>
    <effect>
		<object-type>any</object-type>
		<effects-menu>
			<submenu _name="MadButterfly">
			</submenu>
		</effects-menu>
    </effect>
    <script>
        <command reldir="extensions" interpreter="python">MB_Frame.py</command>
    </script>
</inkscape-extension>