this post was submitted on 12 Jun 2025
21 points (95.7% liked)

Linux

7891 readers
732 users here now

A community for everything relating to the GNU/Linux operating system

Also check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 2 years ago
MODERATORS
 

The following gif demonstrates folding:

you are viewing a single comment's thread
view the rest of the comments
[โ€“] HayadSont@discuss.online 1 points 10 hours ago* (last edited 10 hours ago)

Thank you so much for this! Hopefully I'm not bothering you with this*.

Did you scale the source with ffmpeg?

I'm not entirely sure, but I don't think I did. The invoked command was the following:

โฏ ffmpeg -i input.mp4 output.gif

Do you have a visual pattern in your console background?

I don't think I do. It doesn't look like it at least. To be clear, even on my laptop I notice the visual pattern visible in the gif. But that's totally absent when I'm working within Emacs. Or at least, it looks as if it's just a singular solid color.

The second best to render a small enough size that it does not get resized in the browser.

Hmm..., makes sense. Not a huge fan, though ๐Ÿ˜…. Hopefully I can solve it through other means instead.

I assume you scaled it up

Yup. For the sake of readability*. But the upscaling (or rather zooming in*) was done natively within Emacs.


Alright, so I went to do some digging and the pattern only starts to show up in the gif. Perhaps as a result of the smaller color palette*. Regardless, I tried to see if it is solved by simply generating a 'better' palette and using it as a filter of sorts. Furthermore, in case that wasn't enough, I also tried playing with different dither algorithms:


Does any one of the above gifs do better?