| 
	
 | 
 Posted by Geoff Berrow on 11/18/06 10:03 
Message-ID: <1163811972.753243.210620@b28g2000cwb.googlegroups.com> from 
timlitw@gmail.com contained the following: 
 
>A while back I researched and wrote a script that uses gd to make merge 
>an arrow on a compass to show wind direction, and another on a 
>speedometer to show wind speed, now I'd like to enhance these "gauges" 
>even more on the wind speedometer, I'd like to show high and low and 
>possibly average, and on the direction I'd like to put the prevailing 
>wind direction. 
 
Seems a wasteful use of GD where the number of images required is fairly 
small.  Even with one degree accuracy you are only talking 360 images. 
Much easier to create them  and then reference them from the filesystem. 
Or do as you are doing now and save the image created and check if it 
exists before making a new one. 
 
The other information you want to add seem like just plain text, so I'd 
add it with html and CSS. 
 
If you insist on creating all images on the fly then to avoid saving and 
doing the merge twice you'll have to look at the code that produces the 
merge and add the second merge before the final output to .jpg 
--  
Geoff Berrow (put thecat out to email) 
It's only Usenet, no one dies. 
My opinions, not the committee's, mine. 
Simple RFDs http://www.ckdog.co.uk/rfdmaker/
 
  
Navigation:
[Reply to this message] 
 |