View Single Post
07-12-2010, 01:20 PM
free-designer is offline free-designer
Status: Junior Member
Join date: Jun 2009
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