Re: tricky gd question

From: Date: Wed, 02 Oct 2002 06:30:26 +0000
Subject: Re: tricky gd question
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-118546@lists.php.net to get a copy of this message
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" <mike@basementideas.com> wrote in message news:20021001170113.74610.qmail@pb1.pair.com... > Have a look at ImageCopy in the manual. > > HTH > > Mike > > > "Electroteque" <daniel@electroteque.org> wrote in message > news:20021001103119.29896.qmail@pb1.pair.com... > > 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 > > > > > >

« previous php.general (#118546) next »