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
|