![]() |
[release] Filburt's Fun Shadow System
Author: filburt1
Description: Given a plethora of parameters, generates a PNG image with shadowed text in it. Demo: http://www.turtletips.com/testing/cr...e&skipshadow=0 (I told you, plethora of parameters ;)) Screenshot: http://www.vbulletintemplates.com/mo...=&postid=15585 . This image was generated by the demo URL above. You need PHP with the GD library for this to work. I think this is standard for Unix and OS X, but it isn't for Windows. If you look at my forums (see sig) there's a universal virtual light coming from 90? (i.e., exact center-top of the screen). Therefore all text and images have shadows accordingly for consistancy. You can make shadowed text via CSS/HTML, but it will look horrible. The first method, just making two layers, produces just too plain a look. The second, a Microsoft DirectX filter, only works in IE5.5+ and looks absolutely horrible in Windows XP with ClearType. So, the attached script generates PNG images with shadowed, antialiased text. It's reasonably well commented too if you want to modify it. Look at the sample URL for how to state parameters. The available parameters are: Code:
// $bgfile as the background Quote:
Code:
<img src="createshadowedimage.php?parameters..."> And finally, this is clearly not a release for the weak. Questions will be answered but I have to assume that you have at least some knowledge of what the hell I'm rambling about. :) |
Forgot the four (!) most important ones:
Code:
// $textoffsetpxx is the x-offset of the main text in pixels Quote:
|
cool
when I breath life back into my fourms I'll probaly use this |
Neat, I will find this again when it's not so late.... ;)
|
weird...im not gonna use it - but it is crazy!
|
Some nice work there filburt. :)
|
looks kinda complicated, i might try it out one of these days, good work man.
|
definetly looks sweet! gonna haev to try this one out!
|
if i don't have GD, it will just come up blank, right?
i've been told i have GD, but that's what happens. :confused: |
If you don't have GD then you'll get PHP errors; if you do and it comes up blank then you screwed up in the arguments or the .png you gave it.
|
All times are GMT. The time now is 08:39 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|