What would be the code to know the width and height of an image in a directory?
I was currently doing it with getimagesize()
but I wanted to know if it could be done with storage of laravel .
Something like:
Storage::size('file1.jpg');// este es para saber el tamaño
eye : I'm not uploading an image, I want to know the width and height of an image that I already have saved.
I hope you can help me. Any idea that helps solve my problem will be well received.
Thanks.