[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] [RaQ4] Php image functions
- Subject: Re: [cobalt-users] [RaQ4] Php image functions
- From: "Shaun Johnston" <shaun@xxxxxxxxxxxxxxxx>
- Date: Tue Nov 5 21:14:00 2002
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
> >is imagecopyresampled() the only GD function that's failing, or is it all
of
> >them?
>
> It's the only one we've tried so far.
I have a resize function that calls some netpbm binaries to do the actual
resizing, but it uses GD to get the image color depth and dimensions.
When I wrote it, the reason was because GD only resized rather than
resampled images. I don't know if the situation has changed, but you're
welcome to it if
imagecreatefromjpeg,imagecreatefromgif,imagecreatefrompng,imagecolorstotal
and imagedestroy work for you. I'm using the pkgmaster php-4.1.2-3, and I
have no conflicts.
The netpbm binaries you would need to use with it are
jpegtopnm,giftopnm,pngtopnm,pnmtojpeg,ppmtogif,ppmquant and pnmscale.
Let me know if you would like a copy.
I apologise for the top-posting. I was unaware of the term - now I stand
informed ;-) thanks.