fast-image-size
fast-image-size copied to clipboard
fast-image-size is a PHP library that does almost everything PHP's getimagesize() does but without the large overhead of downloading the complete file.
It appears that the loaded images remain in memory even when the `FastImageSize` object is unset. PHP 8.1.13 Zend Engine v4.1.13 Zend OPcache v8.1.13 Loaded extensions: ``` zend_extension=opcache.so extension=pdo.so extension=pdo_pgsql.so...
On PHP 8.1 this lib throws a deprecation warning, as it passes null as second param to `file_get_contents`, which should be a bool according to the method declaration. Error message...
Travis CI should be replaced by running the CI on GitHub Actions.
Error is reported @ phpBB: https://tracker.phpbb.com/browse/PHPBB3-16742 But someone told me to report it here... I'm receiving this error in a topic with an attachment. It's strange, because it's only that...
If we can't get sizes by extension treat like unknown image type.
We are using this method and are checking for `!== false` but due to the wrong annotation, static analyse tools like PHPStan assume, that `true` is also returned, which is...
Hi, Is there any way to make the request timeout if it's too long ?  Thanks, Julien
If we have an url image name with space not encoded, for es. $FastImageSize->getImageSize('https://example.com/some random image.jpg'); the function will not work because the file_get_contents do not accept url not encoded....
Hello. I've faced an issue when image size can't be obtained for images with wrong extension (for example jpeg image format with PNG extension). Yes, I know it is not...