Re[2]: [PHP] Finding the height of a JPG in pixels using PHP

2003-04-05 Thread Tom Rogers
Hi, Sunday, April 6, 2003, 2:51:36 PM, you wrote: Dd> Dd> You can use getimagesize on a jpg file to read its size, so either Dd> save the jpg in MySQL to a file and then do a getImageSize, or before you place the jpg in to the database read its size and store its dimensions with it in the db. Dd

Re: [PHP] Finding the height of a JPG in pixels using PHP

2003-04-05 Thread De deco
You can use getimagesize on a jpg file to read its size, so either save the jpg in MySQL to a file and then do a getImageSize, or before you place the jpg in to the database read its size and store its dimensions with it in the db. I disagree with Andrew. In my humble opinion, I don't think you

Re: [PHP] Finding the height of a JPG in pixels using PHP

2003-04-05 Thread Andrew Brampton
zmann" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, April 05, 2003 10:46 AM Subject: [PHP] Finding the height of a JPG in pixels using PHP > I have JPG files stored as binary in a MySQL database. I am displaying the > JPGs on the screen and also want to know the h

[PHP] Finding the height of a JPG in pixels using PHP

2003-04-05 Thread Phil Schwarzmann
I have JPG files stored as binary in a MySQL database. I am displaying the JPGs on the screen and also want to know the height (in pixels) of the JPG. Can PHP do this? Thanks!