Connecting Tech Pros Worldwide Help | Site Map

using a pattern to fill a rectangle

 
LinkBack Thread Tools Search this Thread
  #1  
Old March 27th, 2008, 09:25 PM
Sidney Diab
Guest
 
Posts: n/a
Default using a pattern to fill a rectangle




Hi,

Using php I'm trying to draw a goban (size may vary, let's consider
500x500) : I know I can use 'imageFilledRectangle' but I want a nice
wooden texture (let's consider 100x100).

How could you do it ?

TIA.



  #2  
Old March 28th, 2008, 05:25 PM
Nick Wedd
Guest
 
Posts: n/a
Default Re: using a pattern to fill a rectangle

In message <1277536.1tRbDXSDaS@sd>, Sidney Diab
<diab.sidney@free.fr.invalidwrites
Quote:
>
>Using php I'm trying to draw a goban (size may vary, let's consider
>500x500) : I know I can use 'imageFilledRectangle' but I want a nice
>wooden texture (let's consider 100x100).
>
>How could you do it ?
I would go to http://www.britgo.org/ and grab their background image.

If you had used a valid email address here, I would have sent you a
couple of other possible images.

Nick
--
Nick Wedd nick@maproom.co.uk
  #3  
Old March 28th, 2008, 06:25 PM
The Natural Philosopher
Guest
 
Posts: n/a
Default Re: using a pattern to fill a rectangle

Nick Wedd wrote:
Quote:
In message <1277536.1tRbDXSDaS@sd>, Sidney Diab
<diab.sidney@free.fr.invalidwrites
Quote:
>>
>Using php I'm trying to draw a goban (size may vary, let's consider
>500x500) : I know I can use 'imageFilledRectangle' but I want a nice
>wooden texture (let's consider 100x100).
>>
>How could you do it ?
>
I would go to http://www.britgo.org/ and grab their background image.
>
If you had used a valid email address here, I would have sent you a
couple of other possible images.
>
Nick
Do what I did. I stuck a sheet of planed wood on my scanner, and scanned
it in.

My wife worked some miracles with photoshop, and a website now has
authentic 'solid wood' lettering harhar.

If you store the image at say 500x500 and crop (or reduce) as needed, it
should save download time.

None of the repeating so called 'wood grain' patterns came anywhere near
the quality.
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.