Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 90699
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 10, 20262026-05-10T22:54:51+00:00 2026-05-10T22:54:51+00:00

I have a program where I generate bitstreams, of about 80 to 150 bits

  • 0

I have a program where I generate bitstreams, of about 80 to 150 bits or so, which I would like to compress, because I’m going to turn them into some kind of ASCII string so people can transmit them around.

Does anyone know of a good, free bit-aware compressor that might work on such a stream? My main problem with the ‘standard options’ is this stream should really be treated as bits, not bytes, else the structure is lost, and their overhead swamps any gain.

Addition:

The reason I want to compress these streams is because users are going to be cutting+pasting them, probably using something like base64 encoding, so saving some data is helpful.

Here is an example, for those who would like to see it. I’ll add formatting to make it easier to read:

110 110 - This is a 6x6 grid (the maximum is 7x7, so we only need 3 bits!)  000000 011110 010010 010010 011110 000000 - This is one layout grid  000000 000000 001000 000100 000000 000000 - This is the second layout grid 

Now we list some pieces

010 11111111 - A piece is a 3-bit colour code, then an 8-bit list of 'on / off' bits. 001 10101010 - Another bit! 001 10101010 - Another, identical bit! 

The reason I say this should be considered ‘as bits’ is that there is obvious compression options when viewed as a bitstream (in particular, usually many 0s in the ‘grid’s), which disappear when you consider it as a byte-stream.

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. 2026-05-10T22:54:51+00:00Added an answer on May 10, 2026 at 10:54 pm

    What are you hoping to accomplish by compressing 150 bits? Unless you aggregate several of this 19b messages, I’m not sure what you hope to gain. Is it a UI issue–wherein you want your users to send/receive ‘codes’?

    How about base 64 encoding? This will take binary data and turn it into coded characters for easy transmission or entry.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

i have a program in c# which run some process for example generate.exe a.tif
I have been tasked with creating a program that will generate an amortization schedule.
I have a program which needs to behave slightly differently on Tiger than on
i have application with client-server architecture. client (C program): generate various DER encoded data
I have a program that uses XSL-FO (org.apache.fop.apps.Driver) to generate a PDF print out
Does anyone have a simple shell script or c program to generate random files
I have a program in which I need to run multiple insert statements (dynamically
I have a program that generates text fiels that can be up to 20
I have an automated test running on my program that generates some large MPG
I have a program that spits out both standard error and standard out, and

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.