PHP: imagecopy problem

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Hey all,

I'm trying to use imagecopy for creating a JPEG which is a part of the
original picture.
The problem is that when I give the width, height, X and Y it creates
an image which isn't the part i like to crop.
Here is the code:

function crop_jpeg_image($x1,$y1,$w,$h,$image,$quality=95){
            return FALSE;



            return FALSE;


        return TRUE;

Is there anyone who can explain me what the problem can be?

Thanks in advance,


Site Timeline