Super fast getimagesize in php
Posted
by
Sir Lojik
on Stack Overflow
See other posts from Stack Overflow
or by Sir Lojik
Published on 2011-01-08T20:21:51Z
Indexed on
2011/01/08
20:54 UTC
Read the original article
Hit count: 167
php
|getimagesize
Hi all, im trying to get image size(DIMENSIONS) of hundreds of remote images and getimagesize is way too slow. ive done some reading and found out the quickest way would be to use get_file_contents to read a certain aount of bytes from the images and examining the size within the binary data. Anyone attempted this before? How would i examine different formats. Seen any library for this? please let me know
© Stack Overflow or respective owner