Re: [PHP] How does one obtain the resolution of an image in PHP?

2006-03-17 Thread Barry
Arnaldo Gandol wrote: hi, I have troubles with strangers characters in my html pages, I've fixed them by using mb_convert_encoding() function with UTF-8 encoding but I've hear that mbstring library is unstable in some linux distributions. Does any body knows how to solve this problem without

Re: [PHP] How does one obtain the resolution of an image in PHP?

2006-03-17 Thread John Hinton
- Edwin - wrote: Hi! On Thu, 16 Mar 2006 14:31:38 -0500 John Hinton [EMAIL PROTECTED] wrote: Simon M. Campden-Main wrote: Well, there's the meat of it, isn't it? I wonder how Paint Shop Pro comes up with PPI (Image - Image information). I have several thousand scanned images with

Re: [PHP] How does one obtain the resolution of an image in PHP? [SOLVED]

2006-03-17 Thread Simon M. Campden-Main
Good morning, Edwin. Thank you very much for taking the time to respond to my query. E See if you have ImageMagick installed. I didn't, but do now. E You could probably use the identify command to find the info you need. For more information: $ man identify It works, Edwin. A tad slow (3

Re: [PHP] How does one obtain the resolution of an image in PHP?

2006-03-17 Thread - Edwin -
Hi! On Fri, 17 Mar 2006 10:58:12 -0500 John Hinton wrote: - Edwin - wrote: Hi! On Thu, 16 Mar 2006 14:31:38 -0500 John Hinton [EMAIL PROTECTED] wrote: Simon M. Campden-Main wrote: Well, there's the meat of it, isn't it? I wonder how Paint Shop Pro comes up with PPI

[PHP] How does one obtain the resolution of an image in PHP?

2006-03-16 Thread Simon M. Campden-Main
Good morning, folks. Can any one direct me to a snippet or suggest an approach to obtaining the resolution of an image [file] with PHP. exif_read_data() is great if the image was taken with a camera that is exif compliant, but is no help with my scanned images. getimagesize() gives me height

[PHP] How does one obtain the resolution of an image in PHP?

2006-03-16 Thread Simon M. Campden-Main
Good morning, folks. Can any one direct me to a snippet or suggest an approach to obtaining the resolution of an image [file] with PHP. exif_read_data() is great if the image was taken with a camera that is exif compliant, but is no help with my scanned images. getimagesize() gives me height

Re: [PHP] How does one obtain the resolution of an image in PHP?

2006-03-16 Thread tedd
Good morning, folks. Can any one direct me to a snippet or suggest an approach to obtaining the resolution of an image [file] with PHP. exif_read_data() is great if the image was taken with a camera that is exif compliant, but is no help with my scanned images. getimagesize() gives me height

Re: [PHP] How does one obtain the resolution of an image in PHP?

2006-03-16 Thread Simon M. Campden-Main
Thank you for your response, Tedd. T There was a discussion on this a few weeks back -- you might look through the archives. I'm reasonably certain I saw the thread but it was no help. I will go back and review it in case I missed something. T However, the bottom line was that images (other

Re: [PHP] How does one obtain the resolution of an image in PHP?

2006-03-16 Thread tedd
Simon: Thank you for your response, Tedd. No problem, glad to help if I can. I think so, but I am a bit dense. I'm not concerned with image size but rather native resolution. Thanks again for taking the time. Simon Yes, but that's a different question. On one hand, you have an image

Re: [PHP] How does one obtain the resolution of an image in PHP?

2006-03-16 Thread tedd
Simon: One more link: http://www.weberdev.com/Manuals/PHP/function.exif-read-data.html There's code there. HTH's tedd -- http://sperling.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe,

Re: [PHP] How does one obtain the resolution of an image in PHP?

2006-03-16 Thread Simon M. Campden-Main
Thanks again, Tedd. I've checked out the links but still no luck. As I stated (Or implied.) in my first post, I have played with exif_read_data() but it is of little use with the scanned images I've examined. You can see results of my experiments with exif_read_data() and getimagesize() at:

Re: [PHP] How does one obtain the resolution of an image in PHP?

2006-03-16 Thread John Hinton
Simon M. Campden-Main wrote: Well, there's the meat of it, isn't it? I wonder how Paint Shop Pro comes up with PPI (Image - Image information). I have several thousand scanned images with resolution ranging from 72 PPI up to 1200 PPI (As reported by Paint Shop Pro) and want to discard, or

Re: [PHP] How does one obtain the resolution of an image in PHP?

2006-03-16 Thread Richard Lynch
On Thu, March 16, 2006 1:31 pm, John Hinton wrote: Simon M. Campden-Main wrote: Well, there's the meat of it, isn't it? I wonder how Paint Shop Pro comes up with PPI (Image - Image information). I have several thousand scanned images with resolution ranging from 72 PPI up to 1200 PPI (As

Re: [PHP] How does one obtain the resolution of an image in PHP?

2006-03-16 Thread - Edwin -
Hi! On Thu, 16 Mar 2006 08:13:41 -0800 Simon M. Campden-Main [EMAIL PROTECTED] wrote: [ . . . ] I want ppi! [ . . . ] I'm running the current Cent OS [ . . . ] See if you have ImageMagick installed. You could probably use the identify command to find the info you need. For more

Re: [PHP] How does one obtain the resolution of an image in PHP?

2006-03-16 Thread Arnaldo Gandol
hi, I have troubles with strangers characters in my html pages, I've fixed them by using mb_convert_encoding() function with UTF-8 encoding but I've hear that mbstring library is unstable in some linux distributions. Does any body knows how to solve this problem without using mbstring library.

Re: [PHP] How does one obtain the resolution of an image in PHP?

2006-03-16 Thread - Edwin -
Hi! On Thu, 16 Mar 2006 14:31:38 -0500 John Hinton [EMAIL PROTECTED] wrote: Simon M. Campden-Main wrote: Well, there's the meat of it, isn't it? I wonder how Paint Shop Pro comes up with PPI (Image - Image information). I have several thousand scanned images with resolution ranging