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. Data compression

Data compression

Scheduled Pinned Locked Moved C#
tutorialquestion
4 Posts 4 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.
  • M Offline
    M Offline
    Mubi Nigeria
    wrote on last edited by
    #1

    I am a student of computer science given a topic to implement a lossless or lossy coding. this topic is entirely new to me. Can anybody tell me how to start and go about it? Mubi

    P L C 3 Replies Last reply
    0
    • M Mubi Nigeria

      I am a student of computer science given a topic to implement a lossless or lossy coding. this topic is entirely new to me. Can anybody tell me how to start and go about it? Mubi

      P Offline
      P Offline
      Pete OHanlon
      wrote on last edited by
      #2

      I would start by reading up on the various different types.

      *pre-emptive celebratory nipple tassle jiggle* - Sean Ewington

      "Mind bleach! Send me mind bleach!" - Nagy Vilmos

      CodeStash - Online Snippet Management | My blog | MoXAML PowerToys | Mole 2010 - debugging made easier

      1 Reply Last reply
      0
      • M Mubi Nigeria

        I am a student of computer science given a topic to implement a lossless or lossy coding. this topic is entirely new to me. Can anybody tell me how to start and go about it? Mubi

        L Offline
        L Offline
        Lost User
        wrote on last edited by
        #3

        To start with anything, read about it. So in this case: http://en.wikipedia.org/wiki/Lossless_compression[^] http://en.wikipedia.org/wiki/Lossy_compression[^]

        1 Reply Last reply
        0
        • M Mubi Nigeria

          I am a student of computer science given a topic to implement a lossless or lossy coding. this topic is entirely new to me. Can anybody tell me how to start and go about it? Mubi

          C Offline
          C Offline
          cmk
          wrote on last edited by
          #4

          I'd suggest starting with LZ77: http://en.wikipedia.org/wiki/LZ78[^] - It is one of the earlier most widespread lossless algo. - It has been the base for many other algo. - The compress and decompress code can be done in less than 100 lines of code. It might take a while, but get a copy of the code and study it until you understand what every single line is doing. Then try to modify it and understand how all the parameters are inter-related.

          ...cmk The idea that I can be presented with a problem, set out to logically solve it with the tools at hand, and wind up with a program that could not be legally used because someone else followed the same logical steps some years ago and filed for a patent on it is horrifying. - John Carmack

          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