GEOT-4494,Improve ImagePyramidFormat accepts checks