changed bit depth and flag