lepton
Lepton is a tool and file format for losslessly compressing JPEGs by an average of 22%.
File Explorer
Download Latest Version (.zip)- make-cdf
- time-parser
- constants.h
- dictionary.bin
- dictionary.c
- dictionary.h
- version.h
- bit_reader.c
- bit_reader.h
- context.h
- decode.c
- huffman.c
- huffman.h
- port.h
- prefix.h
- state.c
- state.h
- transform.h
- backward_references.c
- backward_references.h
- backward_references_hq.c
- backward_references_hq.h
- backward_references_inc.h
- bit_cost.c
- bit_cost.h
- bit_cost_inc.h
- block_encoder_inc.h
- block_splitter.c
- block_splitter.h
- block_splitter_inc.h
- brotli_bit_stream.c
- brotli_bit_stream.h
- cluster.c
- cluster.h
- cluster_inc.h
- command.h
- compress_fragment.c
- compress_fragment.h
- compress_fragment_two_pass.c
- compress_fragment_two_pass.h
- context.h
- dictionary_hash.c
- dictionary_hash.h
- encode.c
- entropy_encode.c
- entropy_encode.h
- entropy_encode_static.h
- fast_log.h
- find_match_length.h
- hash.h
- hash_forgetful_chain_inc.h
- hash_longest_match64_inc.h
- hash_longest_match_inc.h
- hash_longest_match_quickly_inc.h
- hash_to_binary_tree_inc.h
- histogram.c
- histogram.h
- histogram_inc.h
- literal_cost.c
- literal_cost.h
- memory.c
- memory.h
- metablock.c
- metablock.h
- metablock_inc.h
- port.h
- prefix.h
- quality.h
- ringbuffer.h
- static_dict.c
- static_dict.h
- static_dict_lut.h
- utf8_util.c
- utf8_util.h
- write_bits.h
- decode_fuzzer.cc
- run_decode_fuzzer.cc
- test_fuzzer.sh
- decode.h
- encode.h
- port.h
- types.h
- brotli.c
- brotli.md
- LICENSE
- md5.c
- md5.h
- adler32.c
- compress.c
- crc32.c
- crc32.h
- deflate.c
- deflate.h
- gzclose.c
- gzguts.h
- gzlib.c
- gzread.c
- gzwrite.c
- infback.c
- inffast.c
- inffast.h
- inffixed.h
- inflate.c
- inflate.h
- inftrees.c
- inftrees.h
- trees.c
- trees.h
- uncompr.c
- zconf.h
- zlib.h
- zutil.c
- zutil.h
- config.h
- android.jpg
- androidcrop.jpg
- androidcropoptions.jpg
- androidprogressive.jpg
- androidtrail.jpg
- arithmetic.jpg
- badzerorun.jpg
- colorswap.jpg
- gold-legacy.lep
- gray2sf.jpg
- grayscale.jpg
- hq.jpg
- iphone.jpg
- iphone16.lep
- iphonecity.jpg
- iphonecrop.jpg
- iphonecrop2.jpg
- iphoneprogressive.jpg
- iphoneprogressive2.jpg
- narrowrst.jpg
- narrowrst.lep
- nofsync.jpg
- roundtripfail.jpg
- singlerowtrunc.jpg
- slrcity.jpg
- slrhills.jpg
- slrindoor.jpg
- trailingrst.jpg
- trailingrst2.jpg
- trunc.jpg
- truncatedzerorun.jpg
- rans64.hh
- Allocator.hh
- BoundedMemWriter.hh
- BrotliCompression.cc
- BrotliCompression.hh
- BufferedIO.hh
- DecoderPlatform.hh
- Error.hh
- ioutil.cc
- ioutil.hh
- MemMgrAllocator.cc
- MemMgrAllocator.hh
- MemReadWriter.cc
- MemReadWriter.hh
- MuxReader.hh
- Reader.hh
- seccomp-bpf.hh
- Seccomp.cc
- Seccomp.hh
- Zlib0.cc
- Zlib0.hh
- ZlibCompression.cc
- ZlibCompression.hh
- lepton-scalar.html
- lepton-worker.js
- lepton-wrapper.js
- post.js
- pre.js
- .gitignore
- base_coders.hh
- benchmark.cc
- bitops.cc
- bitops.hh
- component_info.hh
- concat.cc
- evaluate_int_encodings.py
- find-big
- fork_serve.cc
- fork_serve.hh
- generic_compress.cc
- generic_compress.hh
- htables.hh
- idct.cc
- idct.hh
- jpgcoder.cc
- jpgcoder.hh
- lepton_codec.cc
- lepton_codec.hh
- main.cc
- print-model.cc
- recoder.cc
- recoder.hh
- simple_decoder.cc
- simple_decoder.hh
- simple_encoder.cc
- simple_encoder.hh
- smalljpg.hh
- socket_serve.cc
- socket_serve.hh
- stream_interfaces.hh
- test_custom_table.sh
- thread_handoff.cc
- thread_handoff.hh
- uncompressed_components.cc
- uncompressed_components.hh
- validation.cc
- validation.hh
- vp8_decoder.cc
- vp8_decoder.hh
- vp8_encoder.cc
- vp8_encoder.hh
- ans_bool_reader.hh
- bool_decoder.hh
- boolreader.cc
- boolreader.hh
- coefs.hh
- decoder.cc
- decoder.hh
- VPX_AUTHORS
- vpx_bool_reader.hh
- ans_bool_writer.hh
- bool_encoder.hh
- boolwriter.cc
- boolwriter.hh
- encoder.cc
- encoder.hh
- VPX_AUTHORS
- vpx_bool_writer.hh
- branch.hh
- color_context.hh
- jpeg_meta.hh
- JpegArithmeticCoder.cc
- JpegArithmeticCoder.hh
- model.cc
- model.hh
- numeric.cc
- numeric.hh
- aligned_block.hh
- arithmetic_code.hh
- billing.cc
- billing.hh
- block_based_image.hh
- block_context.hh
- debug.cc
- debug.hh
- generic_worker.cc
- generic_worker.hh
- memory.cc
- memory.hh
- mm_mullo_epi32.hh
- mmap.cc
- nd_array.hh
- options.hh
- vpx_config.hh
- forktester.py
- sockettester.py
- test_16threads.sh
- test_2nd_block.sh
- test_3rd_block.sh
- test_concat.sh
- test_embedded.sh
- test_future_compat.sh
- test_harness.cc
- test_invariants.cc
- test_last_block.sh
- test_legacy.sh
- test_permissive.sh
- test_roundtrip.sh
- test_trunc.sh
- timing_driver.cc
- .gitignore
- .gitmodules
- .travis.yml
- AUTHORS
- autogen.sh
- CMakeLists.txt
- configure.ac
- LICENSE
- Makefile.am
- README.md
# Installation Guide
1. Get the code
git clone https://github.com/dropbox/lepton
Downloads the entire project code from GitHub to your computer.
cd lepton
Moves into the project folder you just downloaded.
2. CMake
Medium RecommendedPrerequisites
cmake ..
Analyzes the source code and generates build configuration files (must be run inside the build folder).
"c:\Program Files\CMake\bin\cmake" ..
Type this command into your terminal and run it.
Check that an executable was created inside the build folder, then run it directly (e.g. ./build/app_name).
Pulled directly from this repo's README.
// repository documentation
Was this content helpful?
(0 ratings)
