RE: [PHP] Resizing images
| From: | SED | Date: | Tue, 06 Nov 2001 18:27:11 +0000 |
| Subject: | RE: [PHP] Resizing images | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-73630@lists.php.net to get a copy of this message | ||
Hi,
It's fairly easy with JPEG and PNG (just look for image-functions in the
php.net-manual) with good a result, but not with GIF, except you are
using previous versions of GD-library (<1.6), though I doubt it would
give you a good result.
Regards,
Sumarlidi Einar Dadason
SED - Graphic Design
----------------------------------
Tel. 4615501
GSM 8960376
E-mail sed@sed.is
Website: www.sed.is
----------------------------------
-----Original Message-----
From: Stefan [mailto:s.rusterholz@interaktion.ch]
Sent: 6. nóvember 2001 14:23
To: php-general@lists.php.net
Subject: [PHP] Resizing images
First I have to say that I'm also happy with partial answers!
I'm searching a way to resize JPEG-images with PHP on the fly. Does
anyone know a way to do that or can give me a small piece of code which
does that with a picture?
If thats done: is it also possible to resize GIF and PNG-files?
If thats done too, the third and last question is: is it also possible
to do that without having the need to have that pictures stored as a
file (I hold the picture data in a variable which is then stored into a
mysql-db)?
As I said before: I'm also happy with partial answers!
Thanks for help in advance
Stefan Rusterholz, s.rusterholz@interaktion.ch
----------------------------------
interaktion gmbh
Stefan Rusterholz
Zürichbergstrasse 17
8032 Zürich
----------------------------------
T. +41 1 253 19 55
F. +41 1 253 19 56
W3 www.interaktion.ch
----------------------------------