Added function to return colour depth of image and a warning when user loads a higher then 24 bit colour depth image.