Gradient on Imported PNG?

Post questions on how to use or achieve an effect in Inkscape.
kismert
Posts: 3
Joined: Sat Jan 24, 2009 3:18 am

Gradient on Imported PNG?

Postby kismert » Mon Mar 23, 2009 2:42 pm

I imported a PNG image into Inkscape 0.46. I wanted to fade a portion of it to transparent to reveal a layer underneath.

Although Inkscape shows the Fill and Stroke dialog, and lets me specify and edit a gradient on the object, it doesn't seem to work.

Are gradients on imported images not supported, even though the interface gives every indication that it is supported?

Or am I missing something simple?

Thanks,
-Ken

User avatar
EarlyBlake
Posts: 302
Joined: Tue Jun 03, 2008 5:42 pm

Re: Gradient on Imported PNG?

Postby EarlyBlake » Mon Mar 23, 2009 8:52 pm

You can change the transparency of part of a png by masking it. Mask is under the object menu. A png is a kind of bit map not a vector so inkscape looks at it as an object, so fill and stroke don't work on it.

Screen shot: http://www.inkscape.org/screenshots/gal ... ffield.png
Brief tutorial: http://aqeeliz.com/2007/03/12/inkscape- ... eflection/

kismert
Posts: 3
Joined: Sat Jan 24, 2009 3:18 am

Re: Gradient on Imported PNG?

Postby kismert » Tue Mar 24, 2009 10:59 am

Thanks, EarlyBlake. Very useful information.

To other readers: be sure to read the last comment on the Reflection tutorial -- it gives critical missing details that will help ensure you get the results shown.


Return to “Help with using Inkscape”