detect common map tile formats from a buffer