question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Compression not lossless in one case

See original GitHub issue

Have been running the LosslessCompression() routine on tons of images and it has been working great.

Came across one that didn’t come out completely lossless.

see https://github.com/facebook/react/pull/10677/files

Was wondering if you had any insight into why?

Thanks

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
dlemstracommented, Nov 7, 2017

One of the profiles could be the exif profile or the iptc profile. These profiles don’t affect the appearance of the image. I could add the option but I think I will wait until I get a request from someone who has a proper use case for that situation.

I will publish a new release later this week/weekend.

0reactions
dabutvincommented, Nov 6, 2017

Awesome!

From my view, lossless means it looks the same before and after.

Introducing more options to preserve more/ or less might be worthwhile if it’s not too much overhead.

What info is in these other profiles besides the color profile?

Read more comments on GitHub >

github_iconTop Results From Across the Web

What are Lossless and Lossy Compression?
Lossless and lossy compression describe whether original data can be recovered when a file is uncompressed. Learn the pros and cons of each...
Read more >
Convince me intuitively that there is NO lossless algorithm ...
Lossless compression means information is not lost due to compression. The original data can be retrieved from the compressed dara. Lossy compression on...
Read more >
Lossy vs Lossless Compression: A Beginner's Guide to ...
Images need to look their best. Compression methods — like lossy vs lossless — are one way to keep quality high and file...
Read more >
Lossless compression
Lossless compression is a class of data compression that allows the original data to be perfectly reconstructed from the compressed data with no...
Read more >
Lossless Compression: A Complete Guide
Need to free up storage, but don't want to compromise on quality? Follow our helpful guide and learn more about what lossless compression...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found