How To Get Image Properties In Java