g algorithm described in (1).
    It is not compatible with old style LZW compressed files like quad-lzw.tif.

    r)