heminfotech Posted May 9, 2007 Share Posted May 9, 2007 Hi Guys I would like to know that is there any function or way so that I can find out ht megapixel of images. I will be obliged if someone can help me on this I have searched a lot in GD library & i am not able to find any function related to it. And its urgent very urgent Thanks & Regards Heminfotech Quote Link to comment https://forums.phpfreaks.com/topic/50657-gd-library-help/ Share on other sites More sharing options...
trq Posted May 9, 2007 Share Posted May 9, 2007 Placing URGENT in your subject line or within your post will not help you ANY. Quote Link to comment https://forums.phpfreaks.com/topic/50657-gd-library-help/#findComment-248996 Share on other sites More sharing options...
only one Posted May 9, 2007 Share Posted May 9, 2007 as in the image size?? save that php document, then on a new one use $sizes = getimagesize("url"); $width = $sizes[0]; $height = $sizes[1]; http://nl2.php.net/getimagesize Quote Link to comment https://forums.phpfreaks.com/topic/50657-gd-library-help/#findComment-248997 Share on other sites More sharing options...
neel_basu Posted May 9, 2007 Share Posted May 9, 2007 I can find out ht megapixel of imagesWhat did you mean by ht megapixel Quote Link to comment https://forums.phpfreaks.com/topic/50657-gd-library-help/#findComment-248999 Share on other sites More sharing options...
heminfotech Posted May 9, 2007 Author Share Posted May 9, 2007 its not ht but its the megapixel. my typo error. Please let me know if any one can help @THORPE: I am sorry I will keep that in mind Quote Link to comment https://forums.phpfreaks.com/topic/50657-gd-library-help/#findComment-249010 Share on other sites More sharing options...
heminfotech Posted May 9, 2007 Author Share Posted May 9, 2007 as in the image size?? save that php document, then on a new one use $sizes = getimagesize("url"); $width = $sizes[0]; $height = $sizes[1]; http://nl2.php.net/getimagesize I have this values and this is pixel sizes I need some consolidated megapixel. I have also heard first time. But it is not same as height or width Quote Link to comment https://forums.phpfreaks.com/topic/50657-gd-library-help/#findComment-249013 Share on other sites More sharing options...
trq Posted May 9, 2007 Share Posted May 9, 2007 I have this values and this is pixel sizes I need some consolidated megapixel. I have also heard first time. But it is not same as height or width Sorry, but can you read that back to yourself? It makes no sense. Quote Link to comment https://forums.phpfreaks.com/topic/50657-gd-library-help/#findComment-249018 Share on other sites More sharing options...
heminfotech Posted May 9, 2007 Author Share Posted May 9, 2007 as in the image size?? save that php document, then on a new one use $sizes = getimagesize("url"); $width = $sizes[0]; $height = $sizes[1]; http://nl2.php.net/getimagesize I have this above values. This are pixel sizes. I need megapixel. does it make some sense if not then let me know I will try to explain it again. In very short I need megapixel of any image. Quote Link to comment https://forums.phpfreaks.com/topic/50657-gd-library-help/#findComment-249020 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.