Print image unique colors and bit depth
$ identify -format "UniqueColors: %k, BitDepth:%q\n" img1.png UniqueColors: 1694, BitDepth:16
Note that when can compress an image with high unique colors value to lower value to reduce image size. Similarly lower depth will also mean lower image size.