Results 1 to 4 of 4

Thread: How WinZip/WinRar Works ?

  1. #1
    Member
    Join Date
    Jun 2017
    Location
    Bangladesh
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts

    How WinZip/WinRar Works ?

    Can anyone explain how WinZIP/ WinRAR works for text file ? like for this text "Canada is a North American country" or any sample text you want to explain .
    Please explain the complete process . i will be very grateful .

  2. #2
    Member nikkho's Avatar
    Join Date
    Jul 2011
    Location
    Spain
    Posts
    554
    Thanks
    223
    Thanked 166 Times in 107 Posts
    Quote Originally Posted by imransuet View Post
    Can anyone explain how WinZIP/ WinRAR works for text file ? like for this text "Canada is a North American country" or any sample text you want to explain .
    Please explain the complete process . i will be very grateful .
    Hard to explain in a post. There are plenty of compression algorithm books.
    But as a matter of curiosity, here is the result:

    52 61 72 21 1A 07 01 00 D8 1B 32 51 03 01 04 04
    3A B7 86 3E 4B 02 03 36 AD 00 00 A2 00 20 80 1D
    00 08 74 65 78 74 2E 74 78 74 22 02 00 69 0F 7B
    F1 0B 38 F2 08 44 D1 65 A1 FD 5F 7E 65 6A 5A 8A
    49 E6 E2 26 EC EA 72 E9 0C 69 E9 92 E5 12 03 06
    03 AD 47 F5 54 0C D3 01 45 68 31 F1 54 0C D3 01
    C5 B5 2A 24 04 32 FA 33 C5 7F 15 46 F7 07 F2 28
    32 86 40 8C 68 77 F0 99 07 59 DB 45 CB 1C 90 BD
    04 61 E2 76 2D CD 42 A5 70 47 F3 4C 7C 1D 77 56
    51 03 05 04 00

  3. #3
    Member
    Join Date
    Feb 2015
    Location
    United Kingdom
    Posts
    177
    Thanks
    29
    Thanked 75 Times in 45 Posts
    Winrar is mainly popular due to it's strong multimedia filters that can compress wav, bmp, and delta encoded data very well, so it's safe to assume that it runs a scanner first over your input to detect these file types before applying lzss with huffman encoding or PPM but only if you tell it to use it. That is the rar algorithm in a nutshell.

    If you want to learn more about compression I'd recommend reading http://mattmahoney.net/dc/dce.html, Matt has done a great job explaining pretty much every possible compression algorithm and how they work.

  4. #4
    Member
    Join Date
    Jun 2017
    Location
    Bangladesh
    Posts
    7
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Thanks everyone

Similar Threads

  1. WinRAR
    By squxe in forum Data Compression
    Replies: 188
    Last Post: 13th November 2020, 19:06
  2. Photoshop vs. WinZIP
    By Vronsky in forum Data Compression
    Replies: 1
    Last Post: 28th September 2015, 23:32
  3. WinZip
    By squxe in forum Data Compression
    Replies: 19
    Last Post: 10th November 2014, 01:27
  4. Powerarchiver and Winzip.
    By Fallon in forum Data Compression
    Replies: 0
    Last Post: 16th April 2010, 21:14
  5. jZip – a free alternative to WinZip
    By LovePimple in forum Forum Archive
    Replies: 10
    Last Post: 31st August 2007, 14:05

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •