Gudied HDR compression