How to check the resolution of an image?

images php coding issues or problems here.

Moderators: macek, egami, gesf

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

How to check the resolution of an image?

Postby trestian » 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

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

Postby Alexej Kubarev » Tue Feb 14, 2006 7:55 am

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

check the coments


Return to “PHP coding => Images”

Who is online

Users browsing this forum: No registered users and 2 guests