public static boolean isCS_sRGB ( final ICC_Profile profile ) { Validate . notNull ( profile , "profile" ) ; return profile . getColorSpaceType ( ) == ColorSpace . TYPE_RGB && Arrays . equals ( getProfileHeaderWithProfileId ( profile ) , sRGB . header ) ; }
Tests whether an ICC color profile is equal to the default sRGB profile .