Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. LZW compression algorithm

LZW compression algorithm

Scheduled Pinned Locked Moved C#
helpalgorithmsquestion
6 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    Bettie
    wrote on last edited by
    #1

    As what I know, we need to create a table for LZW compression. I just don't understand how the program keeps track the TABLE when we compress a file from one machine, then transfer the file to another machine and decompress the file. Is the TABLE transfered with the compressed file? Please help me with this issue. Thank you very much. bettie

    H 1 Reply Last reply
    0
    • B Bettie

      As what I know, we need to create a table for LZW compression. I just don't understand how the program keeps track the TABLE when we compress a file from one machine, then transfer the file to another machine and decompress the file. Is the TABLE transfered with the compressed file? Please help me with this issue. Thank you very much. bettie

      H Offline
      H Offline
      Heath Stewart
      wrote on last edited by
      #2

      :confused: Define "TABLE".

      Microsoft MVP, Visual C# My Articles

      B 1 Reply Last reply
      0
      • H Heath Stewart

        :confused: Define "TABLE".

        Microsoft MVP, Visual C# My Articles

        B Offline
        B Offline
        Bettie
        wrote on last edited by
        #3

        Please open this link and read the information. They use the name DICTIONARY instead of TABLE. Thanks! http://www.cs.cf.ac.uk/Dave/Multimedia/node214.html bettie

        D 1 Reply Last reply
        0
        • B Bettie

          Please open this link and read the information. They use the name DICTIONARY instead of TABLE. Thanks! http://www.cs.cf.ac.uk/Dave/Multimedia/node214.html bettie

          D Offline
          D Offline
          Dave Kreskowiak
          wrote on last edited by
          #4

          The dictionary, or table, you're reffering to is written into the .ZIP file. The application that decompresses the file then reads the dictionary table from the file. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

          B 1 Reply Last reply
          0
          • D Dave Kreskowiak

            The dictionary, or table, you're reffering to is written into the .ZIP file. The application that decompresses the file then reads the dictionary table from the file. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

            B Offline
            B Offline
            Bettie
            wrote on last edited by
            #5

            Does it mean the table put together with the compressed file when we transfer the file over the network? Thanks! bettie

            D 1 Reply Last reply
            0
            • B Bettie

              Does it mean the table put together with the compressed file when we transfer the file over the network? Thanks! bettie

              D Offline
              D Offline
              Dave Kreskowiak
              wrote on last edited by
              #6

              Yes. RageInTheMachine9532 "...a pungent, ghastly, stinky piece of cheese!" -- The Roaming Gnome

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups