I'm getting an image $image
that has the path of the image (Ex: ./files/full/imagem.png). What I want to do is fetch its size, height and width, and validate if it is larger than a predefined value (for example 400x300). That is, if the image is smaller than 400x300 it will give error.