Hello & Welcome to our community. Is this your first visit? Register

Results 1 to 5 of 5
  1. #1
    Account Upgraded | Title Enabled! Pure's Avatar

    Rank
    True Member
    Join Date
    May 2008
    Posts
    812

    happy [PHP] Adding drop shadow on a font

    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:

    [Only registered and activated users can see links. ]...

    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:
    [Only registered and activated users can see links. ]

    Off topic: I've also created this!

    [Only registered and activated users can see links. ]

    such as
    [Only registered and activated users can see links. ]
    http://habbocms.info/imager/account/co.uk/temping

    Help would be appericated

  2. # ADS
    HyperFilter
    RaGEZONE Sponsor

    Rank
      Sponsor  
    Join Date
    Sep 2013
    Posts
    9000


     

  3. #2
    PHP Developer shadowmage121's Avatar

    Rank
    True Member
    Join Date
    Mar 2007
    Location
    USA
    Posts
    194

    Re: [PHP] Adding drop shadow on a font

    How about..

    [Only registered and activated users can see links. ]

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

  4. #3
    Account Upgraded | Title Enabled! Pure's Avatar

    Rank
    True Member
    Join Date
    May 2008
    Posts
    812

    Re: [PHP] Adding drop shadow on a font

    Thanks, I'll take a look into it.

  5. #4
    PHP Developer shadowmage121's Avatar

    Rank
    True Member
    Join Date
    Mar 2007
    Location
    USA
    Posts
    194

    Re: [PHP] Adding drop shadow on a font

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

  6. #5
    Account Upgraded | Title Enabled! Pure's Avatar

    Rank
    True Member
    Join Date
    May 2008
    Posts
    812

    Re: [PHP] Adding drop shadow on a font

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

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HyperFilter
Sponsored by HyperFilter , secured by Incapsula , powered by LiteSpeed.
Mods by DBTech. All times are GMT +1. The time now is 05:00 AM.
Powered by vBulletin® Copyright , Jelsoft Enterprises Ltd.