[scribus-dev] Soft shadows -- Partial implementation

Leonard Rosenthol lrosenth at adobe.com
Thu Mar 15 15:55:51 UTC 2012

I wasn't suggesting using the gradients in this case - it was just an example.

Whatever works for you guys - just wanted to point it out...

-----Original Message-----
From: Benjamin Dumke-von der Ehe [mailto:scribus at benjamin-dumke.de] 
Sent: Thursday, March 15, 2012 11:55 AM
To: Scribus Development Mailing List
Subject: Re: [scribus-dev] Soft shadows -- Partial implementation

I'm not sure you can really create the blur effect using gradients -- that'd have to be tons of gradients going into tons of different directions. And even if that was practically possible, it fails as soon as you have an actual (semi-transparent) *image* that you want to apply the shadow to.

On the other hand the way I implemented it, you can apply blurred shadows to complex shapes, images, texts etc, and even groups of them.

Am 15.03.2012 16:27, schrieb Leonard Rosenthol:
> For an Image, that's true - the SMask key points to a 1bit DeviceGray 
> image.
> HOWEVER, in the ExtGState, the SMask key points to a Soft Mask 
> Dictionary (ISO 32000-1:2008, which then points to a 
> Transparency Group XObject for defining the mask's shape and/or 
> opacity values (based on the AIS key value).
> That's how you can do some really cool things like using a smooth 
> shading pattern as your SMask for a nice "fade out"...
> Leonard

scribus-dev mailing list
scribus-dev at lists.scribus.net

More information about the scribus-dev mailing list