Welcome to the RaGEZONE - MMORPG development forums.

[PHP] Adding drop shadow on a font

This is a discussion on [PHP] Adding drop shadow on a font within the Coders' Paradise forums, part of the Evolution : RaGEZONE category; Hello there! I'm currently coding a image where you can change it via the URL, However, I want to add ...

Results 1 to 5 of 5
  1. #1
    Account Upgraded | Title Enabled!
    Rank
    Member +
    Join Date
    May 2008
    Posts
    834
    Liked
    163
    Gamertag: omghealme

    happy [PHP] Adding drop shadow on a font

    Click
    Hello there!

    I'm currently coding a image where you can change it via the URL, However, I want to add some drop shadow on my image such as:

    http://habbcrazy.net/php/text.php?bo...%20the%20Habbo...

    I've currently got this.
    PHP Code:
    <? 
    $font 
    $_GET['input1'];
        
        
    $font_file '../_styling/fonts/volter.ttf';
        
        
    header("Content-type: image/png");
        
        
    $im = @imagecreate("235","69") or die();
        
        
    $transparant imagecolorallocate($im5180124);
        
    ImageColorTransparent($im$transparant);
        
        
    $img imagecreatefrompng("../images/main/ad.PNG");
        
    imagecopy($im$img000023569); 
        
        
    $black imagecolorallocate($im0x000x000x00);
        
        
    imagefttext($im130642$black$font_file$font);
        
        
    imagepng($im);

        
    imagedestroy($im);

    ?>
    Whick come out as:
    http://habbocms.info/imager/event/TEST/

    Off topic: I've also created this!

    http://habbocms.info/imager/account/%HOTEL%/%HABBONAME%

    such as
    http://habbocms.info/imager/account/co.uk/temping:
    http://habbocms.info/imager/account/co.uk/temping

    Help would be appericated

  2. #2
    PHP Developer
    Rank
    Member +
    Join Date
    Mar 2007
    Location
    USA
    Posts
    199
    Liked
    1

    Re: [PHP] Adding drop shadow on a font

    How about..

    http://www.phpclasses.org/browse/package/599.html

    This has the class, an extension, and examples. Hope this helps you ;)
    [SIGPIC][/SIGPIC]

  3. #3
    Account Upgraded | Title Enabled!
    Rank
    Member +
    Join Date
    May 2008
    Posts
    834
    Liked
    163
    Gamertag: omghealme

    Re: [PHP] Adding drop shadow on a font

    Thanks, I'll take a look into it.

  4. #4
    PHP Developer
    Rank
    Member +
    Join Date
    Mar 2007
    Location
    USA
    Posts
    199
    Liked
    1

    Re: [PHP] Adding drop shadow on a font

    Welcome. There are plenty of useful things on there also. =P
    [SIGPIC][/SIGPIC]

  5. #5
    Account Upgraded | Title Enabled!
    Rank
    Member +
    Join Date
    May 2008
    Posts
    834
    Liked
    163
    Gamertag: omghealme

    Re: [PHP] Adding drop shadow on a font

    Infact, It's a stroke. I'm looking for.

 

 

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •