Retrive bit depth of indexed PNG from IHDR chunk