How to check the resolution of an image?

images php coding issues or problems here.

Moderators: egami, macek, gesf

Post Reply
trestian
New php-forum User
New php-forum User
Posts: 51
Joined: Wed Jan 25, 2006 6:24 pm
Location: Philippines,Davao City
Contact:

Mon Feb 13, 2006 1:45 am

Good day...

please give an idea how to check the resolution of an image during saving....

example i have to save an image that is not greater than 72dpi....so if the user try to save greater than 72dpi there will be an alert message..

thanks
Xtian Cuan

User avatar
Alexej Kubarev
Site Admin
Site Admin
Posts: 2213
Joined: Fri Mar 05, 2004 7:15 am
Location: Täby, Stockholms län
Contact:

Tue Feb 14, 2006 7:55 am

Example from php.net documentation:
http://se.php.net/imagesx

check the coments
Best Regards,
Alexej Kubarev
-------------------------------
Zend Certified Engineer
Image Image

Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 1 guest