473,325 Members | 2,342 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,325 software developers and data experts.

Make dynamic shadows on images!?

Hi NG

When I use the GD library on php I can't seem to find a way to generate
dynamic shadows on my images? Do I have to draw it my self or is there a
way??

Thanks

Med Venlig Hilsen

Ask Josephsen
Partner og IT

web: www.MinReklame.dk

MinReklame ApS
CVR: 26542693
Dronning Olgas Vej 39B
2000 Frederiksberg
Jul 17 '05 #1
6 1742
you'll have to draw it yourself
Jul 17 '05 #2
bugger - thanks though...

--

Med Venlig Hilsen

Ask Josephsen
Partner og IT

web: www.MinReklame.dk
mail: as*@MinReklame.dk
tlf: + 45 28 95 70 31

MinReklame ApS
CVR: 26542693
Dronning Olgas Vej 39B
2000 Frederiksberg
"Christopher-Robin" <Ch***************@gmx.de> wrote in message
news:cj*************@news.t-online.com...
you'll have to draw it yourself

Jul 17 '05 #3
On Thu, 30 Sep 2004 23:02:32 +0200, Ask Josephsen wrote:
bugger - thanks though...


I have a script that does just what you want. Well, probably it does.

See it in action here:

<http://headsup.jhu.edu:8080/images/header_image.php?linewidth=6&image_width=120&image _height=45&fg_r=255&fg_g=255&fg_b=255&center_y=1&b gimage=left_nav%2Fleft_nav2.jpg&drop_shadow=1&text =This%20is%20a%20sample>

I'll post the source when I get this baby quieted.

--
Jeffrey Silverman
je**********@jhu.edu
** Drop "PANTS" to reply by email
Jul 17 '05 #4
Jeffrey Silverman wrote:
On Thu, 30 Sep 2004 23:02:32 +0200, Ask Josephsen wrote:
bugger - thanks though...
I have a script that does just what you want. Well, probably it does.

See it in action here:

<http://headsup.jhu.edu:8080/images/h...=6&image_width
=120&image_height=45&fg_r=255&fg_g=255&fg_b=255&ce nter_y=1&bgimage=left_nav%
2Fleft_nav2.jpg&drop_shadow=1&text=This%20is%20a%2 0sample>
I'll post the source when I get this baby quieted.

Wow this is great! You did not write an unsharp mask function by chance?

--
Markus
Jul 17 '05 #5
On Mon, 04 Oct 2004 12:57:33 +0200, Markus Ernst wrote:
Wow this is great! You did not write an unsharp mask function by chance?


Okay, here it is. I wrote an article and posted the source.

<http://www.newtnotes.com/index.php?catid=4&blogid=1>

Warning! The sample image generated on the above page is fake -- it was
generated and cached on a server that actually *has* NetPBM and
ImageMagick installed, then the whole thing was copied over to my site.
Thus, if you muck with the image and change URL GET parameters, it will
break. Sorry!

--
Jeffrey D. Silverman | je**********@jhu.edu
Website | http://www.newtnotes.com

Drop "PANTS" to reply by email

Jul 17 '05 #6
Pretty cool :o) now I'm alot more happy...

--

Med Venlig Hilsen

Ask Josephsen
Partner og IT

web: www.MinReklame.dk

"Jeffrey Silverman" <je*****@pantsjhu.edu> wrote in message
news:pa***************************@pantsjhu.edu...
On Mon, 04 Oct 2004 12:57:33 +0200, Markus Ernst wrote:
Wow this is great! You did not write an unsharp mask function by chance?


Okay, here it is. I wrote an article and posted the source.

<http://www.newtnotes.com/index.php?catid=4&blogid=1>

Warning! The sample image generated on the above page is fake -- it was
generated and cached on a server that actually *has* NetPBM and
ImageMagick installed, then the whole thing was copied over to my site.
Thus, if you muck with the image and change URL GET parameters, it will
break. Sorry!

--
Jeffrey D. Silverman | je**********@jhu.edu
Website | http://www.newtnotes.com

Drop "PANTS" to reply by email

Jul 17 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: K | last post by:
I have found a script online that I want to use (I am new to PHP). It creates dynamic images based on the text that you pass it. However, no matter how I try, I can't get anything other than a...
4
by: Christopher W. Douglas | last post by:
I am developing a VB.NET app using Visual Studio.NET 2003. VB.NET allows me to create a class with two or more methods that have the same name, as long as they have different (non-optional)...
3
by: JOSEPHINE ALVAREZ | last post by:
I have this code that I want to use to do a rollover. However, because the company I am doing it for is continually changing the text, I want to be able to use dynamic text to change the text on...
10
by: Özden Irmak | last post by:
Hi, I'm trying to hide an event of my custom usercontrol derived control, something like "Shadows" in VB.Net, but although the event is hidden from PropertyGrid, from CodeEditor I can still...
7
by: Satish | last post by:
Hi Friends I am little confused about the shadows keyword in VB.NET could anyone explain with an example about Shadows keyword Many thanks Satish
27
by: Just Me | last post by:
I made a Usercontrol that must have AutoScroll set to true when it is used. So I set it to True in the Load event. However the property still shows in the properties window when the control is...
5
by: Martin | last post by:
Hi all, I have made a usercontrol and I want to prevent the ContextMenuStrip property from being available, how can I do this? I have tried stuff like Protected Shadows ContextMenuStrip as...
2
by: =?Utf-8?B?QU1lcmNlcg==?= | last post by:
In the class below, I inherit from Generic.Dictionary so I can override property Item. Item is not overridable, so I used Shadows, and it works as I want. It works equally well if I replace...
3
by: lzo53 | last post by:
this is the code to a photogallery that displays thumbnails when clicked on a window opens my problem is i wish to customize the size of the window height 500 width 400 scrollbars no resize no and so...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.