Page 1 of 1

Bevel and Emboss

Posted: 2009-08-05T04:18:21-07:00
by garfield
Hi...

I made this with Photoshop CS 3... I used Bevel and Emboss...
Image

Now I want to reproduce it with IM, but I'm stuck at this point...
Image

Here my so far code:
convert -size 1300x400 xc:none -gravity north
-font Arial-Rounded-MT-Bold -strokewidth 3 -pointsize 100
-draw "text 0,0 'www.cogito.li'"
-alpha Extract -emboss 10 -shade 120x30 +dither -blur 0x3 -alpha On
-normalize +level 20% -fill "#e5267d" -tint 110%
-channel RGBA -trim -quality 0 cogitomagick.png
So, where is my mistake... what is missing in my code?

Thanks for all help!

Re: Bevel and Emboss

Posted: 2009-08-05T05:02:34-07:00
by Bonzo
I can not see any difference apart from the first image is saved as a jpg so the trasparency turns black.

Re: Bevel and Emboss

Posted: 2009-08-05T06:08:51-07:00
by garfield
The difference is in the sharpen... the first one looks "round", the second one has a clearer shadow, hard egdes...

Re: Bevel and Emboss

Posted: 2009-08-06T14:32:40-07:00
by garfield
so, nobody was able to help me, i try an other way...

how do i get rid of sharp edges?

Re: Bevel and Emboss

Posted: 2009-08-06T18:52:11-07:00
by fmw42
try changing -normalize to -contrast-stretch 0.

Normalize will clip at the low and high ends of the histogram. Perhaps that is causing your problem.

Also is it possible that you are not using the exact same font files in both cases?

Re: Bevel and Emboss

Posted: 2009-08-06T21:01:31-07:00
by anthony
Also Blur BEFORE the shade, whcih gives the shade more 'slope' to work with.

See IM Examples Shade with rounded edges.
http://www.imagemagick.org/Usage/transform/#shade_blur

Finally without the blur, shade will bevel only by a fixed amount!

If you want a less rounded 'bevel' use a more linear blur before the shade operator

That is use -blur 5x65535 instead of -blur 0x5

Actually if you want to be technical, it is a square 'mean' averaging of neighbouring pixels using a (5-1*2)+1 or a 9x9 square convolution array. This technique was discovered by Fred Wienhaus, and while I have not written it up, it is a very useful variation of blur.