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

[PHP] Image Resize with LibGD

2007-05-08 Thread Christian Haensel
Good morning, 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 and would like to stretch it by 50 to 100% of

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] im

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

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

[PHP] image resize looks horrible..

2004-06-03 Thread Edward Peloke
I am using the below function which does seem to resize the image yet the colors in the resized image look horrible. How can I resize the image yet keep the colors in tact? Thanks, Eddie Justin-I tried your code but it didn't seem to do anything...I will just use this function if the color will w

[PHP] image resize problems

2004-06-02 Thread Edward Peloke
I have looked at several of the functions and tried a few tutorials online but am not having much luck for some reason resizing images. I have this code which works fine but everytime I try to add some resizing code, I get the error that the image is not a valid image resource. I have even hardco

[PHP] Image resize on upload

2004-02-25 Thread Will
Hello all, I looked at the PHP manual and found a lot of things to do with images but I did not seem to find out how to resize an image on upload. Can anyone help?? Thanks in advance, ~WILL~ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

RE: [PHP] Image resize with background.

2003-11-02 Thread Martin Towell
To: [EMAIL PROTECTED] Subject: [PHP] Image resize with background. Hey guys. I have read a lot of different option to resize images. What about a script that will resize an image, constrain proportions, and add a background color to whatever is left. For example, I have a picture that is 600 (wid

[PHP] Image resize with background.

2003-11-02 Thread Chris
Hey guys. I have read a lot of different option to resize images. What about a script that will resize an image, constrain proportions, and add a background color to whatever is left. For example, I have a picture that is 600 (width) by 300 (height) and I want to constrain proportions, and resi

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
nesday, March 12, 2003 3:23 PM Subject: [PHP] Image resize > hi to all, > > I have a problem here in image resizing, after the image has been resized > , the image has been discolorized. How can i recreate the image with the > same resolution and color properties. > >

[PHP] Image resize

2003-03-12 Thread Michael P. Carel
hi to all, I have a problem here in image resizing, after the image has been resized , the image has been discolorized. How can i recreate the image with the same resolution and color properties. Here's the sample code from my class file: $origPic = ImageCreateFromJpeg( $this -> iOrig[ 'tmp_na

[PHP] Image Resize

2003-02-23 Thread Randum Ian
Hi guys, Is it possible to resize an uploaded file to 10% of it's size and rename it accordingly? I have the filename for the full-size image as "filename-WWWxHHH.jpg" where WWW is the width and HHH is the height. I want the re-sized image to have the filename "filename-thumb-WWWxHHH.jpg" where

[PHP] Image resize with database

2002-12-16 Thread Steve Vernon
(PHP 4.23, GD 1.6.2 or higher) Hiya, I have code to place the picture in a database, and I normally shrink it when the user requests a picture. What I would like it to change to is that it should shrink or expand the picture to be 300 pixels wide and then place it into the database. I thought

[PHP] Image resize

2002-10-13 Thread Christian Ista
Hello, I have an image (selected via a form), I know the original size of this picture 800x600. I'd like when I put the files in the database resize to 240x180, or 120x90. How do that ? Bye -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.p

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

[PHP] image-resize/convert

2001-04-19 Thread De Bodemschat
Hello, I'm creating a bunch of photogalleries and wondering about the following: - Is it possible to convert an image or a whole dir with images (jpg) to 60% of the original imagesize using php to automate this task? I know the gd library is installed, but don't know if it supports jpg... And

[PHP] image resize

2001-03-08 Thread PeterOblivion
My goal.. Take an image (gif,jpg) from a remote server, resize it into 200x150 and then save it on my local server. My friend gave me a premade script but that doesnt work. Anyone have something like this already done or know where to find it? - Thanks -- PHP General Mailing List (http://www