Re: [PHP] Image Manipulation

2008-11-10 Thread tedd
At 7:16 PM -0500 11/9/08, Ron Piggott wrote: Is there a way to find out the number of pixels wide and high an image is in PHP? Is there a way to resize an image using PHP? Ron Yes tedd -- --- http://sperling.com http://ancientstones.com http://earthstones.com -- PHP General Mailing

Re: [PHP] Image Manipulation

2008-11-09 Thread Jochem Maas
Ron Piggott schreef: Is there a way to find out the number of pixels wide and high an image is in PHP? Is there a way to resize an image using PHP? heh Ron, you've been around this list long enough to know that you should STFW and RTFM before posting questions.

Re: [PHP] Image Manipulation

2008-11-09 Thread Ashley Sheridan
On Sun, 2008-11-09 at 19:16 -0500, Ron Piggott wrote: Is there a way to find out the number of pixels wide and high an image is in PHP? Is there a way to resize an image using PHP? Ron Yes. Look at the PHP GD manual. Ash www.ashleysheridan.co.uk -- PHP General Mailing List

[PHP] Image Manipulation

2008-11-09 Thread Ron Piggott
Is there a way to find out the number of pixels wide and high an image is in PHP? Is there a way to resize an image using PHP? Ron -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Image manipulation on the fly

2007-11-08 Thread Merlin
Hi there, I need to manipulate images on the fly. My goal is to make the image very bright, or to add a sepia effect. The problem is, that this takes a lot of computing power on 1024 pictures. About 2s on my server until the image is delivered. Does anybody know a high performing image

Re: [PHP] Image manipulation on the fly

2007-11-08 Thread Bojan Tesanovic
Hi Merlin, that is very fast for 1024 images, you will not get much more speed if you try doing anything smarter , though there are some image libraries that are faster than GD libs eg www.imagemagick.org On Nov 8, 2007, at 5:13 PM, Merlin wrote: Hi there, I need to manipulate images on

Re: [PHP] Image manipulation on the fly

2007-11-08 Thread Per Jessen
Merlin wrote: Hi there, I need to manipulate images on the fly. My goal is to make the image very bright, or to add a sepia effect. The problem is, that this takes a lot of computing power on 1024 pictures. About 2s on my server until the image is delivered. Yeah, you're doing

Re: [PHP] image manipulation with php

2006-08-31 Thread Curt Zirzow
On 8/29/06, Ross [EMAIL PROTECTED] wrote: I have an saved images I output with this... img src=includes/viewphoto.php?id=?=$photo? I want to use getimagesize() to get the height and width of the image and if it is above a certain size then scale/ reduce it. The problems are (i) using

[PHP] image manipulation with php

2006-08-29 Thread Ross
I have an saved images I output with this... img src=includes/viewphoto.php?id=?=$photo? I want to use getimagesize() to get the height and width of the image and if it is above a certain size then scale/ reduce it. The problems are (i) using getimage() without a url just my viewphoto.php

Re: [PHP] image manipulation with php

2006-08-29 Thread Jochem Maas
Ross wrote: I have an saved images I output with this... img src=includes/viewphoto.php?id=?=$photo? I want to use getimagesize() to get the height and width of the image and if it is above a certain size then scale/ reduce it. The problems are (i) using getimage() without a url

Re: [PHP] Image manipulation without GD library

2005-01-26 Thread Marek Kilimajer
Tim Burgan wrote: Hello, Is there any way that I can do some image manipulation - resizing - without the GD libraries? Can you execute imagemagic's mogrify? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP] Image manipulation without GD library

2005-01-26 Thread Richard Lynch
Tim Burgan wrote: Is there any way that I can do some image manipulation - resizing - without the GD libraries? You can use ImageMagik (aka 'convert') through http://php.net/exec if ImageMagik is installed, and the PHP user can run it. I'm guessing that the same could be said for the GIMP

[PHP] Image manipulation without GD library

2005-01-25 Thread Tim Burgan
Hello, Is there any way that I can do some image manipulation - resizing - without the GD libraries? Tim -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php

[PHP] Image Manipulation

2004-10-01 Thread GH
I would like to know if there is a way to have PHP determine the dimensions of an image (i.e. JPG or PNG) and if it more than Xpx wide or height have it scale it down proportionally to that width or height? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit:

Re: [PHP] Image Manipulation

2004-10-01 Thread Jason Davidson
Yes there is way, search for GD in the php manual, it will explain a solution better than i will. Jason GH [EMAIL PROTECTED] wrote: I would like to know if there is a way to have PHP determine the dimensions of an image (i.e. JPG or PNG) and if it more than Xpx wide or height have it scale

Re: [PHP] Image Manipulation

2004-10-01 Thread Matt M.
I would like to know if there is a way to have PHP determine the dimensions of an image (i.e. JPG or PNG) and if it more than Xpx wide or height have it scale it down proportionally to that width or height? look at http://us4.php.net/gd -- PHP General Mailing List (http://www.php.net/) To

[PHP] Image manipulation in PHP

2004-07-20 Thread Mark Collin
Apologies in advance if this is a repost, my original message was held up while awaiting confirmation of my e-mail addy and such and I haven't seen it appear yet. Is there any support for TGA images in PHP. I have been writing some code to upload files, convert them to JPG and create

Re: [PHP] Image manipulation in PHP

2004-07-20 Thread Jason Wong
On Tuesday 20 July 2004 19:28, Mark Collin wrote: Is there any support for TGA images in PHP. Not builtin. I have searched through the PHP manual and through the GD library website and cannot even find a reference to TGA, is there no support for TGA images in PHP at all? (this seems rather

Re: [PHP] Image manipulation in PHP

2004-07-20 Thread Mark Collin
Thanks for the advice, I will look into it. Jason Wong [EMAIL PROTECTED] wrote in message news:[EMAIL PROTECTED]: On Tuesday 20 July 2004 19:28, Mark Collin wrote: Is there any support for TGA images in PHP. Not builtin. I have searched through the PHP manual and through the GD library

Re: [PHP] image manipulation

2002-09-01 Thread Andre Dubuc
Hi tux, For your second question, try: http://www.linuxfocus.org/English/July2001/article211.shtml It'll give some basci info on image manipulation using ImageMagick. Hth, Andre On Sunday 01 September 2002 01:19 pm, tux wrote: Hey all, I was just wondering if anyone could recommend any

[PHP] image manipulation

2002-08-31 Thread tux
Hey all, I was just wondering if anyone could recommend any tutorials or books or functions i should look into, to do the following: - decrease the size(kilobytes wise not height/width) of an image - imprint a transparent logo onto every picture displayed any feedback greatly appreciated. jo

Re: [PHP] Image manipulation with PHP on RHLinux 7.1

2002-03-30 Thread Dale Lora Marshall
Ok, I've been looking at the image functions, and found that I needed to recompile PHP with exif support and load GD and other functions. I've done all of that and now I get the following: Source: /home/jamboimages/images/uploads/alamoarea_97_round_sm.jpg 600 : /images/patches/1997/1997R15.jpg

Re: [PHP] Image manipulation with PHP on RHLinux 7.1

2002-03-30 Thread Rasmus Lerdorf
exif_imagetype() is new function only available in PHP 4.2 (not released yet) and above. Use GetImageSize() for now. -Rasmus On Sat, 30 Mar 2002, Dale Lora Marshall wrote: Ok, I've been looking at the image functions, and found that I needed to recompile PHP with exif support and load GD

Re: [PHP] Image Manipulation/GD support

2002-03-24 Thread Richard Archer
At 8:17 PM -0800 23/3/02, Rasmus Lerdorf wrote: failing. I use gd2 these days because the 8-bit limitation of gd1 just sucks. You can find my simple gd2 instructions here http://www.php.net/~rasmus/gd.html I found that enabling GD and freetype support in php-4.1.2 was not this simple.

[PHP] Image manipulation with PHP on RHLinux 7.1

2002-03-24 Thread Dale Lora Marshall
Hello all. I have a PHP script which retrieves records from a database, and one field in the record is the path to an image. I want to do things with this image: See what it's size (pixes) is Resize it if necessary Move it to a different location Can someone give me an idea on how to do

Re: [PHP] Image manipulation with PHP on RHLinux 7.1

2002-03-24 Thread Dale Lora Marshall
I guess I should clarify. If the image that's referenced in the database is, for example, 700x300, I want to reduce it to 600 pixels wide, keeping the height proportional. Then, save that image to a new name somewhere else in the filesytem. Then I want to reduce the image further to 300

Re: [PHP] Image manipulation with PHP on RHLinux 7.1

2002-03-24 Thread Jason Wong
On Monday 25 March 2002 08:06, Dale Lora Marshall wrote: I guess I should clarify. If the image that's referenced in the database is, for example, 700x300, I want to reduce it to 600 pixels wide, keeping the height proportional. Then, save that image to a new name somewhere else in the

[PHP] Image Manipulation/GD support

2002-03-23 Thread Navid Yar
Hello, I just enabled GD support for PHP via the php.ini file. When I try to run a script that uses the functions included in the library, it gives me a dialog box asking me whether I want to save the php file to a specific location or not. I don't need to save it, I need PHP to run it. This is

Re: [PHP] Image Manipulation/GD support

2002-03-23 Thread Rasmus Lerdorf
Try image/jpeg as your content-type On Sat, 23 Mar 2002, Navid Yar wrote: Hello, I just enabled GD support for PHP via the php.ini file. When I try to run a script that uses the functions included in the library, it gives me a dialog box asking me whether I want to save the php file to a

RE: [PHP] Image Manipulation/GD support

2002-03-23 Thread Navid Yar
To: Navid Yar Cc: [EMAIL PROTECTED] Subject: Re: [PHP] Image Manipulation/GD support Try image/jpeg as your content-type On Sat, 23 Mar 2002, Navid Yar wrote: Hello, I just enabled GD support for PHP via the php.ini file. When I try to run a script that uses the functions included

Re: [PHP] Image Manipulation/GD support

2002-03-23 Thread Michael A. Peters
On the topic of gd support but a slightly different topic- I was using php 4.0.5 gd 1.8.3 patched for gif support (using libungif for libgif which I *think* is OK) FreeType 1.3.1 (compiled myself in /usr/local ) t1lib 1.3.1 (compiled myself in /usr/local ) I was using gd to draw pictures and

Re: [PHP] Image Manipulation/GD support

2002-03-23 Thread Rasmus Lerdorf
reading the ./configure -h I see that they CHANGED what the configure options mean. now --with-freetype=dir refers to freetype 2 Untrue, it only refers to freetype2 when you are building against GD2. phpinfo() says I have FreeType linkage. But both ImageFtText and ImageTTFText fail to do

Re: [PHP] IMAGE Manipulation

2002-03-22 Thread James Taylor
Hey, I'm not sure if anyone ever answered your question, but here's a little function I wrote for something similar to what you want to do and it doesn't require GD be installed. You need to modify the top portion, I just threw that in there to show you how it would work. $pic is the name of

[PHP] IMAGE Manipulation

2002-03-16 Thread Dani
Hi, I'm trying to resize images from a big image to smaller image in dimension and also file size so that when a user upload an image into server, when a browser display the picture it desn't have to be as big. I hope my question make sense. I just don't know where to start. may be somebody

[PHP] Image manipulation

2001-08-31 Thread Adam Plocher
Hey I got a few questions about image manipulation. First of all, is there anyway I could have my script take a full size image and crop out a chunk of it to be used as a thumbnail - or just simply shrink the image down to be used as a thumbnail? Also, is there anyway to convert misc image

Re: [PHP] Image manipulation

2001-08-31 Thread Bob Scott
Adam - If you're on a machine that has ImageMagick installed on it (most Linux boxes I've been on have it installed already) you can do something like this in PHP: $origfile = /home/bob/my_face.jpg; $img_dir = /usr/local/www/htdocs/images; $dest_file = $img_dir . /t_ . basename($userfile) .

[PHP] Image manipulation

2001-07-10 Thread Kevin Pratt
Does any one know if you can check the dimensions of a GIF file? Thanks Kevin -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]

AW: [PHP] Image manipulation

2001-07-10 Thread Sebastian Stadtlich
http://www.php.net/manual/en/function.getimagesize.php sebastian -Ursprüngliche Nachricht- Von: Kevin Pratt [mailto:[EMAIL PROTECTED]] Gesendet: Dienstag, 10. Juli 2001 19:05 An: [EMAIL PROTECTED] Betreff: [PHP] Image manipulation Does any one know if you can check

Re: [PHP] Image manipulation

2001-07-10 Thread Chris Lambert - WhiteCrown Networks
] Sent: Tuesday, July 10, 2001 1:04 PM Subject: [PHP] Image manipulation | Does any one know if you can check the dimensions of a GIF file? | | Thanks | Kevin | | | -- | PHP General Mailing List (http://www.php.net/) | To unsubscribe, e-mail: [EMAIL PROTECTED] | For additional commands, e-mail