some code to determine if a point format is compressed