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 L
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.
http://www.google.
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
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
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 CPU-in
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 th
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 funtio
On 8/29/06, Ross <[EMAIL PROTECTED]> wrote:
I have an saved images I output with this...
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
Ross wrote:
> I have an saved images I output with this...
>
>
>
>
>
> 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 script
w
I have an saved images I output with this...
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 script
(ii) comparing and reducing the fil
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 tho
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
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
> 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/)
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
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: http://www.php.ne
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
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 rath
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 thumbnail
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 an
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
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
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
3
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
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 pixels
This isn't image manipulation. This is filesystem manipulation.
As for the "resizing", check if you have mogrify with you Linux installation and do a
system() on it.
cheers,
--t.
On Sun, 24 Mar 2002, Dale & Lora Marshall wrote:
>
> Hello all. I have a PHP script which retrieves records from
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 this?
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-4
> 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
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 wr
3, 2002 4:41 PM
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 th
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
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 h
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
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 cou
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($userfi
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 t
>
To: <[EMAIL PROTECTED]>
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
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 o
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]
40 matches
Mail list logo