[PHP] Re: Image size?

2006-01-11 Thread zerof
what would the chance be that the OP actually knows Portuguese and could read that? --- I don't know what is the chance, but the example in this page doesn't requires to know portuguese. Sorry if you don't speak portuguese. Sorry for my poor english. zerof -- PHP General Mailing Li

Re: [PHP] Re: Image size?

2006-01-11 Thread Warren Vail
Try; http://www.php.net/manual/en/function.getimagesize.php Warren At 09:16 AM 1/11/2006, M. Sokolewicz wrote: zerof wrote: William Stokes escreveu: Hello, Can I get pixel sizes from a uploaded web applicable image with PHP? I mean width and height as pixels. If so How? Thanks -Will --

[PHP] Re: Image size?

2006-01-11 Thread M. Sokolewicz
zerof wrote: William Stokes escreveu: Hello, Can I get pixel sizes from a uploaded web applicable image with PHP? I mean width and height as pixels. If so How? Thanks -Will -- http://www.educar.pro.br/abc/mathgd/index.php?xyz=30 zerof what would the chance be that the OP actu

[PHP] Re: Image size?

2006-01-11 Thread zerof
William Stokes escreveu: Hello, Can I get pixel sizes from a uploaded web applicable image with PHP? I mean width and height as pixels. If so How? Thanks -Will -- http://www.educar.pro.br/abc/mathgd/index.php?xyz=30 zerof -- PHP General Mailing List (http://www.php.net/) To unsub

RE: [PHP] Re: image size?

2004-09-14 Thread Ed Lazor
> -Original Message- > Let me explain more fully: > I call a script like this: > > > > The script figures out if the image named in $_GET['file'] is portrait > or landscape, and creates a thumbnail of the same orientation. I would > like to get the x and y values of the image out of t

Re: [PHP] Re: image size?

2004-09-13 Thread Ryan W Sims
Let me explain more fully: I call a script like this: The script figures out if the image named in $_GET['file'] is portrait or landscape, and creates a thumbnail of the same orientation. I would like to get the x and y values of the image out of this script somehow, so that I can specify the hei

RE: [PHP] Re: image size?

2004-09-13 Thread Ed Lazor
I think you'll have to use the imagex and imagey functions to get the dimensions of the thumbnail in order to calculate the size. > -Original Message- > What if the values for x and y are not known? I have a function that > returns a thumbnail of a larger image; it calculates the size of

Re: [PHP] Re: image size?

2004-09-13 Thread Ryan W Sims
What if the values for x and y are not known? I have a function that returns a thumbnail of a larger image; it calculates the size of the created image based on the dimensions of the original. Paul Birnstihl wrote: Ed Lazor wrote: Is there a way to get the size of an image created using the imagec

Re: [PHP] Re: image size?

2004-09-09 Thread Paul Birnstihl
Ed Lazor wrote: -Original Message- Ed Lazor wrote: Is there a way to get the size of an image created using the imagecreate function? I'm guessing it would be xsize x ysize x colour depth = size in bits ? What's the default color depth? -Ed It looks to me like it's 8bit for imagecreate and

RE: [PHP] Re: image size?

2004-09-09 Thread Ed Lazor
> -Original Message- > Ed Lazor wrote: > > Is there a way to get the size of an image created using the imagecreate > > function? > > I'm guessing it would be xsize x ysize x colour depth = size in bits ? What's the default color depth? -Ed -- PHP General Mailing List (http://www.php.n

[PHP] Re: image size?

2004-09-09 Thread Paul Birnstihl
Ed Lazor wrote: Is there a way to get the size of an image created using the imagecreate function? I'm guessing it would be xsize x ysize x colour depth = size in bits ? -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php