About imagecopyresampled()

Posted on 16th Feb 2014 by admin

Hello,

I am looking to use this function to resize parts of an image to a fixed thumbnail size. I have used this functions many times, but I am trying to become more advanced as time pass by.

I have been looking on the web, however, I cannot find out what these four arguments control. I was hoping somebody knows.

I was hoping someone could give me an answer:

$src_x
x-coordinate of source point.

$src_y
y-coordinate of source point.

$dst_w
Destination width.

$dst_h
Destination height

Other forums