|
-
Oct 12th, 2005, 07:26 AM
#1
Thread Starter
Hyperactive Member
How to do image mapping
Hello,
I have a image of 1000 x 1000 pixels. Now the thing i want to do is...i will be getting small images from customers whcih i have to put in the big 1000x1000 image.
I can do it manually by opening big image and small images and then copy/paste the small image in big image.
I just wanted to know that how can i do this through php ? i mean i want to cut out the manual labour...users simply upload their image and it gets into the main big image.
So, I know how to upload a image in php.
I just want to know how can i put the small image into the big image ?
Thanks.
Tapan Bhanot,
CEO, Avis Software.
Website: www.avissoftware.com
-
Oct 12th, 2005, 09:29 AM
#2
Re: How to do image mapping
It depends how many images you have and what shape they are. If the are all rectangular with uniform sizes then you can probably use an HTML image map and that way the images never need to be stiched together.
-
Oct 12th, 2005, 12:11 PM
#3
Thread Starter
Hyperactive Member
Re: How to do image mapping
Hi,
The big image has 100 pixels blocks. So the small images can be of any number of blocks. 1 block = 100 pixels (10x10 pixels i.e).
Now it can be just 1 block or can be any number of blocks. But thats what i am not after right now.
What i am looking is for that suppose some one sends in a 10x10 = 100 pixel image that is a square how do i paste that image onto the big grid i have without doing any manual labour ?
I want it all to be done using php. Let me explain the procidure:
Step 1: User uploads its image is going to be in blocks min will be 1 block and max can be any number of blocks will in any case it will either be a square or a rectangle.
Step 2: Once uploaded ..the image has to be pasted on the grid which itself is a image.
Thast it. I am not after right now what is the size etc. I just first wanna know how can i paste the image on to a image using php...
After that i will do the maths weather its a rectangle etc.
Thanks.
Tapan Bhanot,
CEO, Avis Software.
Website: www.avissoftware.com
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|