imagecopyresampled($dst_img,$src_img,50,0,0,0,$new_w,$new_h,imagesx($src_img ),imagesy($src_img));
i have this basically if i half the width of the ratio scaled image , it puts the entire image into that area not just half the image like a crop would ? "Mike Mannakee" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > Have a look at ImageCopy in the manual. > > HTH > > Mike > > > "Electroteque" <[EMAIL PROTECTED]> wrote in message > [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > > here is a tricky question, i have created a photo gallery script where i > can > > edit the photo and gammacorrect the photos, at the moment i post the gamma > > value and refreshes the resized preview image , what i'd like to do is be > > able to have a before and after preview so half the image is the normal > > image and half the image is the gamma corrected image , is this possible ? > > any leads would be excellent > > > > > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

