CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Need a Custom or Prewritten Perl Program?: I need a program that...:
How to determine image height & width

 



bert
Deleted

Nov 18, 2000, 6:31 AM

Post #1 of 3 (1252 views)
How to determine image height & width Can't Post

I wanne have a script that determines the heigt en width of a gif, jpeg.


Kanji
User / Moderator

Nov 18, 2000, 7:28 AM

Post #2 of 3 (1252 views)
Re: How to determine image height & width [In reply to] Can't Post

Error checking and module installation left as an exercise to the user. :)

<BLOCKQUOTE><font size="1" face="Arial,Helvetica,sans serif">code:</font><HR>

perl -MImage::Size -le '$,="x"; print((imgsize(shift))[0,1])' an-image.jpg</pre><HR></BLOCKQUOTE>


bert
Deleted

Nov 21, 2000, 11:42 AM

Post #3 of 3 (1252 views)
Re: How to determine image height & width [In reply to] Can't Post

Thanx Mate

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives