Re: Image wrapper extension

From: Date: Thu, 03 Jan 2002 08:26:31 +0000
Subject: Re: Image wrapper extension
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-3755@lists.php.net to get a copy of this message
On Thu, 3 Jan 2002, Peter Bowyer wrote: > Hi, > > Following on from the discussion about image classes, I knocked up a quick > wrapper for the GD and ImageMagick extensions that could easily be adapted > to other extensions. Basically I'm posting this message not because the > code is ready to be used, but because it's my first attempt at using the > PEAR coding standards, and I'd like someone to check that I'm using them > corectly :-) [... snip ...] > Currently, every time you save/display an image in ImageGD, the image file > gets reset to the original. My question is: would you want this > behaviour? I wrote it this way because I need to make 3 thumbnails from > the same image, and working from the original image would (I think) give me > better quality thumbnails. I still haven't figured out how to get this > behaviour in ImageIM, because the functions work differently AFAIK. just a short note on this one. ext/imagick currently has a flaw in that. It should return a new picture on resizing, rotating, etc and not overwriting the old one. I currently don't have much time to implement that, but i will in the near future unless someone else likes to do it earlier :) (see http://php.chregu.tv/imagick for almost everything ...) chregu

« previous php.pear.dev (#3755) next »