using a pattern to fill a rectangle

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Sidney Diab

    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 'imageFilledRec tangle' but I want a nice
    wooden texture (let's consider 100x100).

    How could you do it ?

    TIA.


  • Nick Wedd

    #2
    Re: using a pattern to fill a rectangle

    In message <1277536.1tRbDX SDaS@sd>, Sidney Diab
    <diab.sidney@fr ee.fr.invalidwr ites
    >
    >Using php I'm trying to draw a goban (size may vary, let's consider
    >500x500) : I know I can use 'imageFilledRec tangle' 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

    Comment

    • The Natural Philosopher

      #3
      Re: using a pattern to fill a rectangle

      Nick Wedd wrote:
      In message <1277536.1tRbDX SDaS@sd>, Sidney Diab
      <diab.sidney@fr ee.fr.invalidwr ites
      >>
      >Using php I'm trying to draw a goban (size may vary, let's consider
      >500x500) : I know I can use 'imageFilledRec tangle' 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.

      Comment

      Working...