What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » imagecopy in PHP

1 votes - 5 average   imagecopy in PHP
Author: Message:
Choli
Elite Member
*****

Avatar
Choli

Posts: 4714
Reputation: 42
42 / Male / Flag
Joined: Jan 2003
RE: imagecopy in PHP
quote:
int imagecopy ( resource dst_im, resource src_im, int dst_x, int dst_y, int src_x, int src_y, int src_w, int src_h)


Copy a part of src_im onto dst_im starting at the x,y coordinates src_x, src_y with a width of src_w and a height of src_h. The portion defined will be copied onto the x,y coordinates, dst_x and dst_y.

imagecopy copies a block (or region, or rectangle) of an image into another one. It takes 8 parameters:

The two first ones are the destination and source images, respectively.

The last four parameters represent the part of the original image that will be copied. They are the coordinates of the upper left pixel of the rectangle (src_x and src_y) and the width and heigh of the rectangle (src_w and src_h).

The other 2 parameters are dst_x and dst_y, and they represent where the rectangle is going to be placed in in the destination image. They're also the upper left pixel.

If you don't understand that, just ask; but in that case I'd suggest you to begin with easier things in PHP ;)
Messenger Plus! en espaņol:
<< http://www.msgpluslive.es/ >>
<< http://foro.msgpluslive.es/ >>
:plus4:
09-04-2004 02:18 PM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
imagecopy in PHP - by Moo on 09-04-2004 at 02:03 PM
RE: imagecopy in PHP - by Choli on 09-04-2004 at 02:18 PM
RE: imagecopy in PHP - by Moo on 09-04-2004 at 02:30 PM
RE: imagecopy in PHP - by fluffy_lobster on 09-04-2004 at 06:13 PM
RE: imagecopy in PHP - by Moo on 09-04-2004 at 06:15 PM
RE: imagecopy in PHP - by fluffy_lobster on 09-04-2004 at 06:17 PM
RE: imagecopy in PHP - by Moo on 09-04-2004 at 06:19 PM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On