Daniel Carrera wrote:
Nicu Buculei wrote:

BTW, if you need the logo slightly bigger or smaller, either ask for a new size (but say exactly what size do you want) or ask and I will teach how to do it yourself.


I'd like to learn how to do it myself. :-)

The basic idea is to import the PNG in GIMP and apply two effects: bump map and drop shadow. The catch is that if you import the picture as a whole the effect will not look that good and we have to improve the z-order.

So what I did:

The SVG image is composed from 3 objects: Enthought logo, the feather and the text. I exported from Inkscape each object as a separate PNG and imported them as layers in GIMP (one image with 3 layers). I posted in a previous message the XCF as reference (http://ooo.nicubunu.ro/oooauthors/gimp_shadow.xcf)

The layer with the Enthought logo remain unmodified, and to the each two others two effects are applied: bump map and drop shadow.

Added another layer with white background to have a good preview.

This is all.

Now to the effects:

Drop shadow is very simple: Script-Fu->Shadow->Drop Shadow. Adjust parameters as needed, they will depend on the size of the image, AFAIK I used Offset Y: 2, Offset Y: 2, Blur Radius: something between 4 and 8, Opacity 60 and do not allow resizing.

Bump map: there are two ways. The simple one is to use Script-Fu->Decor->Add Bevel, but I do not like it because it does not offer enough control.
The other way has a few steps:
- duplicate the layer and make the entire graphic white (easy way: check "Keep transparency" and draw over it with a white brush). - add a new black layer under this and merge the two, to obtain a white-on-black copy. Blur it (Filters->Blur->Gaussian Blur, I used here the value 5, for a larger image a larger value may be needed). Make this layer invisible, it will be used as mask. - select the layer with the drawing and use Filters->Map Bump Map. Use as mask the layer from the previous step and adjust parameters as needed (I changed here only Depth to 2) Something similar is described at http://gug.sunsite.dk/tutorials/tomcat1/ or http://gug.sunsite.dk/tutorials/tomcat16/

Notes:

1. The GIMP people are doing a clean-up of the menus for usability reasons, the Script-Fu menu will disappear and it contents will be moved in other places

2. the SVG standard allow some similar effects for drop shadows and bump map, but Inkscape does not implement them yet (expected only after they will change the current renderer with Cairo)

--
nicu
my OpenOffice.org pages: http://ooo.nicubunu.ro

Reply via email to