Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Where to start 1

Status
Not open for further replies.

rrsub

MIS
Joined
Oct 23, 2002
Messages
536
Location
US
I'll start here because PHP can do just about anything.

I'm looking for a way to merge images dynamically. Basically I have several small images 50x50 px that I want to create a banner by adding the images together to create 1 image 250x50 px.
 
If you have PHP's image functions available in your installation, PHP can do that.

Were I to try that, I would create a new blank image using imagecreatetruecolor(), then open the images I would want to merge to that blank image using imagecreatejpeg() to open the image files and imagecopy() to perform the copy.

Then I'd write the image to a file or the browser using imagejpeg().


Want the best answers? Ask the best questions!

TANSTAAFL!!
 
Could you code the HTML page to have a table which downloads each small image ?
 
You know sleipnir214, those image functions are pretty damn cool.

We've got some coders that are ASP and the plugin for ASP that does a quarter of what PHP does for manipulating images is $75.

We're doing this project in PHP.
 
You'll find over time that PHP has lots of free features that are superior to equivalent for-pay functionality in VBScript/ASP.

<facetious>
Welcome to the light.
</facetious>

Want the best answers? Ask the best questions!

TANSTAAFL!!
 
I've been there a while ago. The problem is convincing others. This was a winner.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top