Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #27434 > unrolled thread

Compress Base64 To Almost Half The Size (Works with DNA or Odd Encrypted Data)

Started byMASTER TROLL BAIT <0ntariokingston@gmail.com>
First post2015-04-30 09:20 -0700
Last post2015-05-05 18:53 -0700
Articles 3 — 3 participants

Back to article view | Back to comp.lang.javascript


Contents

  Compress Base64 To Almost Half The Size (Works with DNA or Odd Encrypted Data) MASTER TROLL BAIT <0ntariokingston@gmail.com> - 2015-04-30 09:20 -0700
    Re: Compress Base64 To Almost Half The Size (Works with DNA or Odd Encrypted Data) JJ <jj4public@vfemail.net> - 2015-05-02 22:56 +0700
    Re: Compress Base64 To Almost Half The Size (Works with DNA or Odd Encrypted Data) Dave Brown <0ntariokingston@gmail.com> - 2015-05-05 18:53 -0700

#27434 — Compress Base64 To Almost Half The Size (Works with DNA or Odd Encrypted Data)

FromMASTER TROLL BAIT <0ntariokingston@gmail.com>
Date2015-04-30 09:20 -0700
SubjectCompress Base64 To Almost Half The Size (Works with DNA or Odd Encrypted Data)
Message-ID<7d09a82e-30bc-454b-a982-265fa6f8e581@googlegroups.com>
www.scriptcompress.com/DNA-Packer.htm can compress Base64 encoded data which is self extracting VIA client side (no server needed) and automatic running VIA JavaScript. I originally made the tool for packing human DNA sequences (helping a University better the world).

I have always hated that Base64 encoding makes everything 30 to 40% bigger. Well, no more, make it almost 50% smaller now! I made a tool on www.scriptcompress.com/DNA-Packer.htm that will compress it!

My first example I take 4KB of HTML code and encode it to 5.5KB of Base64 data. Now I can compress it smaller than even the original 4KB of non encoded HTML code!

5.7KB shrunk to 3.45KB (set 7 for bits length), proof here: https://gist.github.com/JavaScript-Packer/c0f963a38cd8aaceb5af

My 2nd example (set 7 for bits length):

*BEFORE:* 8KB http://jsfiddle.net/cbg4yLz7/
*AFTER:* 4.1KB http://jsfiddle.net/cbg4yLz7/1/

[toc] | [next] | [standalone]


#27471

FromJJ <jj4public@vfemail.net>
Date2015-05-02 22:56 +0700
Message-ID<1jiayojtb7oj$.12ro3f6x5kafy$.dlg@40tude.net>
In reply to#27434
On Thu, 30 Apr 2015 09:20:41 -0700 (PDT), MASTER TROLL BAIT wrote:
> www.scriptcompress.com/DNA-Packer.htm can compress Base64 encoded data which is self extracting VIA client side (no server needed) and automatic running VIA JavaScript. I originally made the tool for packing human DNA sequences (helping a University better the world).
> 
> I have always hated that Base64 encoding makes everything 30 to 40% bigger. Well, no more, make it almost 50% smaller now! I made a tool on www.scriptcompress.com/DNA-Packer.htm that will compress it!
> 
> My first example I take 4KB of HTML code and encode it to 5.5KB of Base64 data. Now I can compress it smaller than even the original 4KB of non encoded HTML code!
> 
> 5.7KB shrunk to 3.45KB (set 7 for bits length), proof here: https://gist.github.com/JavaScript-Packer/c0f963a38cd8aaceb5af
> 
> My 2nd example (set 7 for bits length):
> 
> *BEFORE:* 8KB http://jsfiddle.net/cbg4yLz7/
> *AFTER:* 4.1KB http://jsfiddle.net/cbg4yLz7/1/

Your web server does't support gzip, is it?

[toc] | [prev] | [next] | [standalone]


#27543

FromDave Brown <0ntariokingston@gmail.com>
Date2015-05-05 18:53 -0700
Message-ID<6bfa0736-b87f-4e1c-aa6d-07aaf1a59506@googlegroups.com>
In reply to#27434
On Thursday, April 30, 2015 at 12:20:46 PM UTC-4, Dave Brown wrote:
> www.scriptcompress.com/DNA-Packer.htm can compress Base64 encoded data which is self extracting VIA client side (no server needed) and automatic running VIA JavaScript. I originally made the tool for packing human DNA sequences (helping a University better the world).
> 
> I have always hated that Base64 encoding makes everything 30 to 40% bigger. Well, no more, make it almost 50% smaller now! I made a tool on www.scriptcompress.com/DNA-Packer.htm that will compress it!
> 
> My first example I take 4KB of HTML code and encode it to 5.5KB of Base64 data. Now I can compress it smaller than even the original 4KB of non encoded HTML code!
> 
> 5.7KB shrunk to 3.45KB (set 7 for bits length), proof here: https://gist.github.com/JavaScript-Packer/c0f963a38cd8aaceb5af
> 
> My 2nd example (set 7 for bits length):
> 
> *BEFORE:* 8KB http://jsfiddle.net/cbg4yLz7/
> *AFTER:* 4.1KB http://jsfiddle.net/cbg4yLz7/1/

JJ, I am not talking about my server. On http://www.scriptcompress.com I am talking about a tools for compressing with my techniques. Even if my server runs gzip, this is not about standard compressions. I am making a universal compressor that will self run on any system that has a web browser...

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.javascript


csiph-web