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,255
Total Threads: 81,230
Total Posts: 566,970
There are 118 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
     
    Thread tools Search this thread Display Modes  
Prev Previous Post   Next Post Next
07-12-2010, 01:20 PM
#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  How to read the firsts bytes of png,jpg and jpeg and get the height/width

Hey guys,
I was looking for a way to get the image height and width mush faster then using getimagesize();
so i thought that getting the first bytes of an image would be faster to get the height and width.
can anyone help me with the code that should do that for png,jpg and jpeg?

thanks so mush

Reply With Quote
     


Thread Tools
Display Modes

  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