Hi, Is there a way to bevel and emboss text using the GD graphics library? I want to be able to write a string out to an image, and give a shadow and bevel the text. Should the GD library be able to do this and how so, or should I move onto something like Image Magick? I have tried a quick google search although no results have been revealed, so some help would be much appreciated
I do not know if there is a built in library for this, but i usually use this trick. For example you draw the letter "A" on x = 100, y = 100, font size is 15px, with bright red color (255, 0, 0). Try to draw the second "A" as the dummy "embass effect" on x = 103, y = 103, font size 12px, and slightly darker (or lighter) red (150, 0, 0). You only need to make a duplicate letter with modified coordinate, font size, and color
Thanks for the idea. I understand what you are saying but I am in need of a built in shading mechanism. I tried asking on another forum however I was told that there is no such tool, so I have decided to try out the PECL package called imagick, it should come in handy.