TopGit theo dõi dropbox/lepton trên GitHub, đã đạt 5.0k sao. Lepton is a tool and file format for losslessly compressing JPEGs by an average of 22%.
Tóm tắt dựng từ metadata GitHub của chính dự án — chưa có bài review TopGit. Trang sẽ tự động cập nhật khi bài review đầy đủ được xuất bản.
VÌ SAO CHƯA CÓ REVIEW
TopGit viết bài đầy đủ cho repo có nhiều sao nhất và được yêu cầu nhiều nhất. Trang này là snapshot trong thời gian chờ — xem README gốc ở tab READ ME.
⚠️ Deprecation Notice for the Dropbox Lepton project
Dear Lepton users and developers,
Thank you so much for using and contributing to Lepton over the years! We’ve recently realized that we no longer have sufficient resources to adequately support this project. This includes providing timely fixes to bugs and vulnerabilities such as those that were recently reported to us. While we did ensure that the reported vulnerabilities don’t affect our internal use of Lepton, we unfortunately don’t have the capacity to properly fix these and future issues in this public repo. Therefore, after some consideration, we’ve decided to deprecate and archive the project. We apologize for any inconvenience and appreciate your understanding.
If you would like to continue using Lepton, please check out Microsoft’s implementation of Lepton in Rust or alternatively consider switching to other lossless compression methods such as Brotli or to modern image formats such as WebP or JPEG XL.
Lepton
Lepton is a tool and file format for losslessly compressing JPEGs by an average of 22%.
This can be used to archive large photo collections, or to serve images live and save 22% bandwidth.
Build directions
Using a single core
./autogen.sh
./configure
make
make check
For multiprocessor machines:
./autogen.sh
./configure
make -j8
make check -j8
Using CMAKE:
mkdir -p build
cd build
cmake ..
make -j8
On Windows
mkdir -p build
cd build
"c:\Program Files\CMake\bin\cmake" ..
start .
REM Double click the Visual Studio project
Usage
To roundtrip (compress and decompress) an image, original.jpg, do the following:
Lepton may also be used with pipes -- be sure to check the exit code when using pipes
as if compression fails lepton will produce 0 bytes and return a nonzero exit code
(failure). In this case do not assume the 0 byte file is representative of the original.
Additionally you can configure lepton to process progressive jpegs.
Warning: these take more memory to decode than normal JPEGs since the entire framebuffer
must be kept in memory for the duration of the decompression, instead of just 2 rows of blocks.
Please begin by filling out the contributor form and asserting that
The code I'm contributing is mine, and I have the right to license it.
I'm granting you a license to distribute said code under the terms of this agreement.
at this page:
https://opensource.dropbox.com/cla/
Then create a new pull request through the github interface
Debugging
Lepton is designed to be easy to debug, but a command line requirement is necessary to prevent
the standard forks that let it do a secure verification in a separate process.
To avoid setting follow fork flags, please pass -skipverify to the command line.
This will stop verification and let you debug the app as a single process application.
If the bug happens in single threaded mode, also you can pass -singlethread which makes
it easier to step through the code without other threads hitting breakpoints.
Bindings for other languages
NodeJS: https://github.com/whitef0x0/node-lepton
PHP: https://github.com/gtuk/php-lepton
Acknowledgements
Many thanks to Matthias Stirner and HTW Aalen University for the development of the uncmpJPG library.
Thanks to the VPX authors for their highly tuned bool reader and bool writer implementations.
Related Work
Be sure to read the groundbreaking research done by Matthias Stirner, Gehard Seelman and HTW Aalen University in their 2007 paper and check out their excellent PackJPG repositories for compression of JPEG MP3 BMP and PMN formats.
Also the paq algorithms combine for a highly compressed JPEG result when decompression time is less critical.
When the compressed JPEG needs to also be a JPEG, there is mozjpg to explore as well.
License
Unless otherwise noted:
Copyright (c) 2016 Dropbox, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Trang TopGit này là một snapshot — tab "Readme" hiển thị nguyên văn README của repo (đã bỏ link, giữ ảnh). Repo GitHub ở github.com/dropbox/lepton là nguồn chính thức.
dropbox/lepton có bao nhiêu sao?
dropbox/lepton có 5.0k sao GitHub — tải lại trang để xem số mới nhất, hoặc xem trực tiếp github.com/dropbox/lepton. TopGit phản chiếu số sao của GitHub nhưng không cam kết đến từng phút.
dropbox/lepton có những chủ đề gì?
GitHub topics của dropbox/lepton: "compression", "compression-algorithm", "decompression", "jpeg", "lossless-compression-algorithm". TopGit xếp repo vào nhóm mã nguồn mở.
dropbox/lepton có phải mã nguồn mở không?
Có — dropbox/lepton phát hành theo license Apache-2.0, nghĩa là mã nguồn mở để đọc, fork và (tùy license) tái sử dụng. Mã: github.com/dropbox/lepton.
dropbox/lepton có trang demo không?
Dự án có trang chủ ở https://blogs.dropbox.com/tech/2016/07/lepton-image-compression-saving-22-losslessly-from-images-at-15mbs/. Tab "Readme" ở trang này thường có ảnh chụp và hướng dẫn bắt đầu nhanh.
dropbox/lepton còn đang phát triển không?
Commit gần nhất trên dropbox/lepton là 2.7 năm trước (theo timestamp GitHub). Repo có 347 fork — một chỉ báo về mức độ quan tâm của cộng đồng.
Đọc đầy đủ README ở tab phía trên.
Muốn nghe thêm một ý kiến về lepton?
Hỏi một AI đọc được trang này — một cú bấm là có ngay nhận định về lepton.