Go Premium for a chance to win a PS4. Enter to Win


Best Way of Drawing Tree Trunk

Posted on 2006-07-20
Medium Priority
Last Modified: 2010-04-06
Hi all,
I'm making graphics for a site that require me to draw a tree trunk along the site of the web page. I already have a large amount of graphics and a flash video on the page so I want to minimise the file size this image. I had the idea that I could draw the outer part of the tree myself and place this small image around a rectangular vector I could create in Dreamweaver. As this rectangle would be mono-colour it would load in the browser instantly and the browser would then only have to load the small image file for the outer part of the trunk. Does this seem it a good idea or is it more hassle than its worth?
Any suggestions would be greatly appreciated!
Question by:dereksheahan
  • 2
  • 2
LVL 18

Assisted Solution

by:Jose Parrot
Jose Parrot earned 800 total points
ID: 17157147
Hi dereksheahan,

If you need just the trunk, and if I am understanding correctly, why not use just one image, say 800w x 200h, tiled?

LVL 26

Accepted Solution

David Brugge earned 800 total points
ID: 17173185
Just to elaborate on Jose's suggestion, you could make a tall narrow table say two rows high and twenty columns wide.
Then fill the table with a tall, narrow jpeg of a strip of bark. Repeat the same image 20 times. Then span the bottom row with the base of the trunk.
The browser will only need download the tall narrow image (which, because of the rough texture could be very highly compressed) once. Since all of the other table cells reference the same image, the browser will fetch it from its cache.

/ just an idea.
LVL 18

Expert Comment

by:Jose Parrot
ID: 17180039
Yes, D_Brugge, that's the idea. to download just one image and repeat it.

Author Comment

ID: 17182132
Hi guys,
Thanks for you're input. Yes D_Brugge, perhaps that might be the best way to try it. Not sure if the image will need to be more complicated than that though. I'll give it a go when our artist gets back in a couple of days.
LVL 26

Expert Comment

by:David Brugge
ID: 17189682
Well I give credit to JoseParrot,
He got me thinking about tiling.

I hope it works out for you.

-David B

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Keep your audience engaged and get the most out of your next presentation with these quick Prezi tips.
Many programs have tried to outwit PowerPoint in terms of technology and skill. These programs, however, still lack several characteristics that PowerPoint has possessed from the start. Here's why PowerPoint replacements won't entirely work for desi…
It is a freely distributed piece of software for such tasks as photo retouching, image composition and image authoring. It works on many operating systems, in many languages.
Not only does Prezi allow you to create non-linear presentations, it also makes it easy to apply transition animations between your frames. Learn how to apply a fade-in transition to select items and entire frames in this tutorial Select "Edit Path"…
Suggested Courses
Course of the Month11 days, 14 hours left to enroll

916 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question