Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dictionary-Based Image Compressor

A C++ tool that compresses 8-bit grayscale RAW images using dictionary-based compression methods.

Build

make

Usage

./lz_codec [options]

Parameters

Flag Description
-c Compress the input file
-d Decompress the input file
-i <file> Input file name
-o <file> Output file name
-w <width> Image width in pixels (required only for compression, must be $\ge$ 1)
-m Use predictive model (pixel difference)
-a Use adaptive block scanning mode (16x16 blocks)

Examples

Compress with model and adaptive scanning:

./lz_codec -c -i input.raw -o compressed.bin -w 512 -m -a

Decompress:

./lz_codec -d -i compressed.bin -o output.raw

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages