522
you are viewing a single comment's thread
view the rest of the comments
[-] The_Decryptor@aussie.zone 2 points 1 day ago

Pretty much, you can use something like ImageMagick's compare tool to quickly check if the round trip produced any differences.

It can be a bit muddled because even if the encoding is lossless, the decoding might not be (e.g. subtle differences between using non-SIMD vs. SIMD decoding), and it's not like you can just check the file hashes since e.g. PNG has like 4 different interchangeable ways to specify a colour space. So I'd say it's lossless if the resulting images differ by no more than +/- 1 bit error per pixel (e.g. 127 becoming 128 is probably fine, becoming 130 isn't)

[-] lars@lemmy.sdf.org 2 points 1 day ago

Hey wow! Thank you!!

This explains a lot—including, likely, your username. Cheers!

this post was submitted on 23 Dec 2024
522 points (94.8% liked)

Microblog Memes

6038 readers
1961 users here now

A place to share screenshots of Microblog posts, whether from Mastodon, tumblr, ~~Twitter~~ X, KBin, Threads or elsewhere.

Created as an evolution of White People Twitter and other tweet-capture subreddits.

Rules:

  1. Please put at least one word relevant to the post in the post title.
  2. Be nice.
  3. No advertising, brand promotion or guerilla marketing.
  4. Posters are encouraged to link to the toot or tweet etc in the description of posts.

Related communities:

founded 1 year ago
MODERATORS