Can you create an image from a jpg file using image(filename)?
Reason is I want to be able to detect size of a sprite based on the arbitrary jpg it’s made from. Thought if I used the jpg to make an image instance, I could use image.width and image.height for the purpose. No?
.@UberGoober if you have an image object, then image.width/height is the best way to go. These will give you the logical size of the image (in points) in case there is also a retina version.