Today's Posts Follow Us On Twitter! TFL Members on Twitter  
Forum search: Advanced Search  
Navigation
Marketplace
  Members Login:
Lost password?
  Forum Statistics:
Forum Members: 24,254
Total Threads: 80,792
Total Posts: 566,472
There are 2303 users currently browsing (tf).
 
  Our Partners:
 
  TalkFreelance     Design and Development     Programming     PHP and MySQL :

How to read the firsts bytes of png,jpg and jpeg and get the height/width

Thread title: How to read the firsts bytes of png,jpg and jpeg and get the height/width
Reply    
    Thread tools Search this thread Display Modes  
07-16-2010, 01:11 AM
#1
free-designer is offline free-designer
Status: Junior Member
Join date: Jun 2009
Location:
Expertise:
Software:
 
Posts: 98
iTrader: 0 / 0%
 

free-designer is on a distinguished road

  Old

Originally Posted by Salathe View Post
Then why were you looking for a faster way of getting the dimensions?
Im using regex with preg_match_all() to get all of the imgs tags on the passed url, my problem is that i want to validate the height and width. so it takes a lot of seconds to download only one image, so if there is a 30 imgs or something and all of them is 3megabyte or something. then it will take a looooot of time to read them, so i thought there would be a better way to get images height/width.

Thats why.

Thanks salathe :-)

Reply With Quote
Reply    


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

  Posting Rules  
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump:
 
  Contains New Posts Forum Contains New Posts   Contains No New Posts Forum Contains No New Posts   A Closed Forum Forum is Closed