You are here: Re: merging 3 layers « PHP Programming Language « IT news, forums, messages
Re: merging 3 layers

Posted by timlitw@gmail.com on 11/18/06 15:54

The additional information now is text because I didn't find a way to
merge the additional arrows, it is just a stop gap, and on the
directional arrows I'm only doing 16 directions, not all 360 degrees,
but when I figure out how to add more layers then I'll want to add the
last 3 directions and a prevailing direction, so I don't want to be
limited. Besides it isn't as if the machine is working hard on anything
else it does.

But I like the idea, that if the same combination is asked for again
that it can just read the image from the drive and display it rather
than regenerate it. Do you have sample code that can do that?




Geoff Berrow wrote:
> 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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация