When I Upload a WEBP file to Controller, I want to get the width and height with java. It returns null when I use the following code:
Image image = ImageIO.read(uploadFile);
When I search on the Internet I find webp-imageio.jar could be used but it's too complex. Is there any easy way to achieve that?