Re: [PHP] Finding out DPI using GD

2006-02-15 Thread Curt Zirzow
On Thu, Feb 16, 2006 at 08:31:12AM +1300, Karuna wrote: > dpi is useful in commercial printing. Most printing companies prefer 300dpi > images to make sure the images are printed nice and crisp. While on screen > there is no difference between 72 dpi, and 300 dpi, on paper the difference > can b

Re: [PHP] Finding out DPI using GD

2006-02-15 Thread Karuna
dpi is useful in commercial printing. Most printing companies prefer 300dpi images to make sure the images are printed nice and crisp. While on screen there is no difference between 72 dpi, and 300 dpi, on paper the difference can be obvious. This is the very reason I need to know the dpi, since

Re: [PHP] Finding out DPI using GD

2006-02-15 Thread Gerry Danen
Isn't DPI a function of the output device? Has nothing to do with the image, it just has x pixels by y pixels... On 2/15/06, Kim Christensen <[EMAIL PROTECTED]> wrote: > On 2/15/06, Karuna <[EMAIL PROTECTED]> wrote: > > Thanks. I might give the new versions a try :) > > > > IIRC, I think the unix

Re: [PHP] Finding out DPI using GD

2006-02-14 Thread Kim Christensen
On 2/15/06, Karuna <[EMAIL PROTECTED]> wrote: > Thanks. I might give the new versions a try :) > > IIRC, I think the unix exif function returns dpi as well but I'm working on > a windows machine without cygwin, so can't be certain. You might want to check this package: http://www.ozhiker.com/elect

Re: [PHP] Finding out DPI using GD

2006-02-14 Thread Karuna
Thanks. I might give the new versions a try :) IIRC, I think the unix exif function returns dpi as well but I'm working on a windows machine without cygwin, so can't be certain. ""Richard Lynch"" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > On Tue, February 14, 2006 2:15 pm, K

Re: [PHP] Finding out DPI using GD

2006-02-14 Thread Richard Lynch
On Tue, February 14, 2006 2:15 pm, Karuna wrote: > Hi. Is it possible to find out the dpi of an image (preferably jpeg) > in php? > I can't seem to find any function to do this. http://php.net/getimagesize However, I have found that: 1. EXIF data in the JPEG will make it puke. 2. It doesn't seem