Re: scaling text

[email protected] ("R. Hicks")
Newsgroups perl.beginners
Message-ID <[email protected]>
zentara wrote:
<snip>
> You really didn't say how you are making the badges,
> like is there a limited defined bounding box that each
> name must fit in?  Or can you adjust the name-box size
> to accomodate longer names? etc. etc.
> 
> zentara
> 
> 
I am being handed pre-made badges of 121x120. The first line of pixels 
is to be taken as the color of the text and sheared off to make a 
120x120 image. I can work that out later.

What I need to do is get the users name, create an image from that, get 
its size (I guess that is called a bounding box) and then scale and 
overlay that image onto the pre-designed one.

R
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.