Git Product home page Git Product logo

Comments (2)

xdsopl avatar xdsopl commented on July 17, 2024 1

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.

ropucyka avatar ropucyka commented on July 17, 2024

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 photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.