Posted July 26, 201510 yr I would like to get the size of an image with the use of a resource location as I want to have my gui auto-center the background texture based on what image I give it. I have done some googling but only found ways of doing it involving ImageIO, which I assume isn't a good option because I have found no way of getting a file object from a resource location.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.