Inkscape Forum Inkscape > Blur tips

Posted by bulia byak (Guest)
on 12.10.2006 01:55
(Received via mailing list)
Some tips for using blur in Inkscape SVN:

0. Use the Blur slider in the Fill and Stroke dialog. You can blur
anything - paths, shapes, strokes, calligraphy, bitmaps, text, clones,
groups.

1. Currently, the maximum blur radius is 10% of the object size. Any
larger blur will reveal the clear-cut margins - the blurred object
cannot (currently)  spread wider than the 10%. However it's easy to
work around this limitation: group the object that you want to blur
with some large fully-transparent object, thus making the group larger
than the object, and blur the group.

2. Objects that store their transformation matrices (texts, groups,
shapes, but not paths - unless you set "Store transforms" to
"Preserved"), when scaled, scale also the blur applied to them. This
means you can squeeze an object and its blur will be bigger in one
dimension than the other. (It's also possible to do that by setting
different blur radii for X and Y, but we don't yet have UI for that,
though it works if you set it manually.)

3. You can combine blurring with gradients. For example, an ellipse
with elliptic opacity gradient will look much softer and more natural
when blurred. An object with a horizontal linear opacity gradient,
when blurred, will look like it is more blurred on its transparent
side than on its opaque side.

4. Masks and clipping are applied AFTER blur. That is, if you clip an
object and then blur it (or blur it first and then clip - it makes no
difference), the clipped edges will remain crisp. Often, this is what
you want. If, however, you want to blur the clipped/masked edges too
(possibly with a different radius), you can use grouping: group the
clipped object with some other object (which you can then delete from
the group) and blur the group.

5. A recipe for an autoupdating black drop shadow for object of any
color: create object; unset its fill (it becomes black); create two
clones of it; put one clone on top and paint any color; put the other
color at bottom, blur it and shift sideways. Now you can edit the
unset-fill original (use Alt+click to select it) and everything will
update. Obviously, if you want a drop shadow of the same color as the
object itself, just one clone for the shadow will suffice.

6. If an object has a fill that you don't want to blur (e.g. pattern,
or if it's a bitmap), but you want to feather its edges, use blurred
transparency mask: copy the object; paint it white; blur it as needed;
scale the blurred copy down so its blur margins are entirely within
the original object; select both the original and the blurred mask; do
Object > Mask > Set.

7. You can use the Tile Clones dialog to create patterns of variously
blurred clones - either with smooth variation of the blur per
row/column, or/and with randomized blurring.

--
bulia byak
Inkscape. Draw Freely.
http://www.inkscape.org

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, 
security?
Get stuff done quickly with pre-integrated technology to make your job 
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache 
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Posted by Thomas Zastrow (Guest)
on 18.10.2006 10:39
(Received via mailing list)
bulia byak schrieb:
> Some tips for using blur in Inkscape SVN:
>
> 0. Use the Blur slider in the Fill and Stroke dialog. You can blur
> anything - paths, shapes, strokes, calligraphy, bitmaps, text, clones,
> groups.
>
>   
Sorry for asking this: Am I right that in Inkscape 0.441 the
Blur-function does not exist ...??

Best,

Tom

--
----------------------------
http://www.thomas-zastrow.de

German Forum - DTP under Linux:

http://linuxdtp.thomas-zastrow.de
----------------------------


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, 
security?
Get stuff done quickly with pre-integrated technology to make your job 
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache 
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Posted by bulia byak (Guest)
on 18.10.2006 10:39
(Received via mailing list)
On 10/12/06, Thomas Zastrow <listen@thomas-zastrow.de> wrote:
> Sorry for asking this: Am I right that in Inkscape 0.441 the
> Blur-function does not exist ...??

Yes. It was added after that.

--
bulia byak
Inkscape. Draw Freely.
http://www.inkscape.org

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, 
security?
Get stuff done quickly with pre-integrated technology to make your job 
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache 
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Posted by Thomas Zastrow (Guest)
on 18.10.2006 10:39
(Received via mailing list)
bulia byak schrieb:
> On 10/12/06, Thomas Zastrow <listen@thomas-zastrow.de> wrote:
>   
>> Sorry for asking this: Am I right that in Inkscape 0.441 the
>> Blur-function does not exist ...??
>>     
>
> Yes. It was added after that.
>
>   

OK, thanks. So, I tried to install the SVN-version. But after
downloading and building the configure-script, I got the following 
error:

./configure: line 9678: syntax error near unexpected token `XFT,'
./configure: line 9678: `               PKG_CHECK_MODULES(XFT, xft,
xft_ok=yes, xft_ok=no)'


Any ideas?? Thanks!

Best,

Tom

--
----------------------------
http://www.thomas-zastrow.de

German Forum - DTP under Linux:

http://linuxdtp.thomas-zastrow.de
----------------------------


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, 
security?
Get stuff done quickly with pre-integrated technology to make your job 
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache 
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Posted by Thomas Zastrow (Guest)
on 18.10.2006 10:43
(Received via mailing list)
Thomas Zastrow schrieb:
>>
>
> Any ideas?? Thanks!
>
>   
Hhm, I also tried it with

./configure --with-xft=no

but the result is the same. I also looked into th configure-script, but
I can't see whats wrong with this line?

Best,

Tom

--
----------------------------
http://www.thomas-zastrow.de

German Forum - DTP under Linux:

http://linuxdtp.thomas-zastrow.de
----------------------------


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, 
security?
Get stuff done quickly with pre-integrated technology to make your job 
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache 
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Posted by bulia byak (Guest)
on 21.10.2006 02:28
(Received via mailing list)
On 10/11/06, bulia byak <buliabyak@gmail.com> wrote:
> 1. Currently, the maximum blur radius is 10% of the object size. Any
> larger blur will reveal the clear-cut margins - the blurred object
> cannot (currently)  spread wider than the 10%. However it's easy to
> work around this limitation: group the object that you want to blur
> with some large fully-transparent object, thus making the group larger
> than the object, and blur the group.

This is fixed in SVN now, so no more need for the workaround.

--
bulia byak
Inkscape. Draw Freely.
http://www.inkscape.org

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, 
security?
Get stuff done quickly with pre-integrated technology to make your job 
easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache 
Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
Posted by Lucas Vieites (Guest)
on 09.11.2006 13:23
Thomas Zastrow wrote:
> Thomas Zastrow schrieb:
>>>
>>
>> Any ideas?? Thanks!
>>
>>   
> Hhm, I also tried it with
> 
> ./configure --with-xft=no
> 

  Hi Thomas, I am having this same problem with today's svn version, I 
found out that the option to disble xft id "--without.xft" but the 
problem remains.

  Have found out a way to solve it?

  Cheers, Lucas

> but the result is the same. I also looked into th configure-script, but
> I can't see whats wrong with this line?
> 
> Best,
> 
> Tom
>