Hi All,
I am trying to compress a text file using C. For example, if data written in a text file is ABCDEFGH, it occupies 8 bytes. I want it to occupy only 1 byte so that the size of the file can be reduced.
Regards.
Hi All,
I am trying to compress a text file using C. For example, if data written in a text file is ABCDEFGH, it occupies 8 bytes. I want it to occupy only 1 byte so that the size of the file can be reduced.
Regards.
This is impossible to reduce size of data as you want.
You can use LZW algorithm or something like that but rate of reduction depend on data
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.