Comments (2)
I did some experimenting with my own discrete wavelet transform (DWT) based image compression coders and wanted to support that but ultimately decided against it, because of the simple reason you just mentioned: We need support outside of Assempix and Shredpix for it.
Re-encoding the image to PNG or high quality JPEG or WEBP would have indeed eliminated the need for external viewers and/or for editing tools but I also found this: Even though rate-distortion gave me immediately the amount of bytes I wanted to send, DWT was unbearably slow compared to the JPEG, PNG and WEBP tools provided by Android.
WEBP, even though I had to use bisection to find the right quality setting to fit the picture inside the 5380 bytes, was still much faster and good enough for most pictures I tested.
Same goes to JPEG 2K and XL: Slow and complicated formats and still have not found wide adoption outside the enthusiast community.
WEBP already had growing pains, just like PNG did, but now is (AFAIK) supported almost everywhere.
But, to never say never .. this is an intriguing concept and I might revisit the idea in the future.
from shredpix.
Sent an random 1.67 KB JPEG image, after transfer the image size became 5.25 KB.
I thought that if the image file size does not exceed 5380B then no transformation occurs and it is transmitted "as is", hash identical, but it was not so.
UPD
Oh, i found that images is bit-identical, but resulting image just filled by zero bytes to achieve 5380 bytes file size.
Also found some intresting from Google, Jpegli -
https://opensource.googleblog.com/2024/04/introducing-jpegli-new-jpeg-coding-library.html
from shredpix.
Related Issues (5)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shredpix.