Re: [PHP] Image Resize with LibGD

2007-05-08 Thread Richard Lynch
On Tue, May 8, 2007 3:17 am, Christian Haensel wrote: > I am using imagecreatetruecolor() and imagecopyresampled() to resize > oversized images and am overlaying them with an transparent PNG to add > a > watermark. That works just well for oversized images. > > Now, let's say I have a small image a

Re: [PHP] Image Resize with LibGD

2007-05-08 Thread Greg Donald
On 5/8/07, Christian Haensel <[EMAIL PROTECTED]> wrote: Now, let's say I have a small image and would like to stretch it by 50 to 100% of its original size... I know there will be a loss of quality. But maybe someone out there has had to deal with the same before and knows the best way to do that

Re: [PHP] image resize looks horrible..

2004-06-07 Thread Justin Patrin
Are you using gd2 or not? If you're not, that's probably your problem. Edward Peloke wrote: Any ideas as to how I can fix this function??? -Original Message- From: Edward Peloke [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 4:18 PM To: Php-General Subject: [PHP] image resize looks

Re: [PHP] image resize looks horrible..

2004-06-07 Thread Marek Kilimajer
Is $gd2 set right? Edward Peloke wrote: Any ideas as to how I can fix this function??? -Original Message- From: Edward Peloke [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 4:18 PM To: Php-General Subject: [PHP] image resize looks horrible.. I am using the below function which does

RE: [PHP] image resize looks horrible..

2004-06-07 Thread Edward Peloke
Any ideas as to how I can fix this function??? -Original Message- From: Edward Peloke [mailto:[EMAIL PROTECTED] Sent: Thursday, June 03, 2004 4:18 PM To: Php-General Subject: [PHP] image resize looks horrible.. I am using the below function which does seem to resize the image yet the col

RE: [PHP] Image resize with background.

2003-11-02 Thread Martin Towell
try the resize copy function (can't remember the exact name ATM) Set the destination's first colour to the desired background colour, then copy/resize the image to it. Martin -Original Message- From: Chris [mailto:[EMAIL PROTECTED] Sent: Monday, 3 November 2003 12:36 PM To: [EMAIL PROTEC

Re: [PHP] Image resize

2003-03-12 Thread Michael P. Carel
thanks its working fine now. - Original Message - From: "Hugh Danaher" <[EMAIL PROTECTED]> To: "Michael P. Carel" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Thursday, March 13, 2003 9:09 AM Subject: Re: [PHP] Image resize >

Re: [PHP] Image resize

2003-03-12 Thread Hugh Danaher
if your system suports the commands, try imagecreatetruecolor() instead of imagecreate(), and imagecopyresampled() instead of imagecopyresized(), hope this helps, Hugh - Original Message - From: "Michael P. Carel" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 12, 2003

RE: [PHP] image-resize (thumbnail 150x150 code)

2001-04-19 Thread ..s.c.o.t.t..
-Original Message- > From: Joe Stump [mailto:[EMAIL PROTECTED]] > Sent: Thursday, April 19, 2001 17:18 > To: De Bodemschat > Cc: Php-General-list > Subject: Re: [PHP] image-resize/convert > > > Again - if you have imagemagick installed email me and I'll email

Re: [PHP] image-resize/convert

2001-04-19 Thread Joe Stump
Again - if you have imagemagick installed email me and I'll email you my little class that does this. --Joe On Thu, Apr 19, 2001 at 10:02:47AM +0200, De Bodemschat wrote: > Hello, > > I'm creating a bunch of photogalleries and wondering about the following: > > - Is it possible to convert an i

Re: [PHP] image-resize/convert

2001-04-19 Thread elias
Hi. here is my GD report from PHPInfo() gd GD Support enabled GD Version 1.6.2 or higher FreeType Support enabled FreeType Linkage with TTF library GIF Support enabled JPG Support enabled PNG Support enabled WBMP Support enabled I think you don't have JPG enabled. As for resizing images yes, you