Reputation: 688
I am wanting to do the following with imagick via php. My ultimate goal is to create an "outline shadow" of an uploaded image. Then make the image itself transparent while keeping the shadow.
Is this how it could work?
Upvotes: 0
Views: 891
Reputation: 214
You can create an outline simply by creating a copy of non-transparent pixels, flood-filling them, fuzzing them a bit and then adding this as background.
There is a comprehensive explanation on how to achieve this and how it works in the ImageMagick forums
Upvotes: 2