Discussion
Loading...

#Tag

Log in
  • About
  • Code of conduct
  • Privacy
  • About Bonfire
R.L. Dane :Debian: :OpenBSD: :FreeBSD: 馃嵉 :MiraLovesYou:
R.L. Dane :Debian: :OpenBSD: :FreeBSD: 馃嵉 :MiraLovesYou:
@rl_dane@polymaths.social  路  activity timestamp 3 days ago

If anyone's curious why I'm always doing the little #LossyPNG dance, it's because you can get some crazy good compression sacrificing color depth, instead of using a traditional lossy algorithm which gives you good compression by sacrificing detail:

tmp $ ll kate*
-rw-rw-r-- 1 rld rld 124,117 Feb 23 12:51 kate-kwrite1.png
-rw-rw-r-- 1 rld rld 23,710 Feb 23 12:51 kate-kwrite2.png
-rw-rw-r-- 1 rld rld 19,936 Feb 23 12:54 kate-kwrite3.png
-rw-rw-r-- 1 rld rld 18,572 Feb 23 12:55 kate-kwrite4.png
186335 total
tmp $ colors kate*
kate-kwrite1.png (unknown)
kate-kwrite2.png 16
kate-kwrite3.png 9
kate-kwrite4.png 8

(kate-kwrite1.png was the original (truecolor) screenshot)
(kate-kwrite2.png was automatically reduced to 16 colors by ImageMagic)
(kate-kwrite3.png was reduced to 9 colors by hand-picking dominant colors in GIMP)
(kate-kwrite4.png was reduced to 8 colors by hand-picking dominant colors in GIMP)

  • Copy link
  • Flag this post
  • Block
kabel42
kabel42
@kabel42@polymaths.social  路  activity timestamp 3 days ago

@rl_dane @OpenComputeDesign @pixx there are a lot of apps that use katepart, but afaik kwrite is very diffferent, more like Wordpad on windows with formating and stuff

R.L. Dane :Debian: :OpenBSD: :FreeBSD: 馃嵉 :MiraLovesYou:
R.L. Dane :Debian: :OpenBSD: :FreeBSD: 馃嵉 :MiraLovesYou:
@rl_dane@polymaths.social  路  activity timestamp 3 days ago

@kabel42 @OpenComputeDesign @pixx

No, KWrite is a plain text editor, and is basically just Kate-lite.

#KDE #Plasma #Kate #KWrite #LossyPNG

A screenshot of KDE Plasma with KWrite on the left and Kate on the right.

KWrite looks like someone took Kate and stripped away some less-used functions.
A screenshot of KDE Plasma with KWrite on the left and Kate on the right. KWrite looks like someone took Kate and stripped away some less-used functions.
A screenshot of KDE Plasma with KWrite on the left and Kate on the right. KWrite looks like someone took Kate and stripped away some less-used functions.
  • Copy link
  • Flag this comment
  • Block
Ethan Black
Ethan Black
@golemwire@fosstodon.org  路  activity timestamp 4 days ago

@rl_dane LossyJPG

R.L. Dane :Debian: :OpenBSD: :FreeBSD: 馃嵉 :MiraLovesYou:
R.L. Dane :Debian: :OpenBSD: :FreeBSD: 馃嵉 :MiraLovesYou:
@rl_dane@polymaths.social  路  activity timestamp 4 days ago

@golemwire

lol, actually it's a #LossyPNG and a LossyWebP.

I'd use #AVIF more on #fedi, but #Mastodon doesn't support it. (boo, hiss!)

  • Copy link
  • Flag this comment
  • Block

BT Free Social

BT Free is a non-profit organization founded by @ozoned@btfree.social . It's goal is for digital privacy rights, advocacy and consulting. This goal will be attained by hosting open platforms to allow others to seamlessly join the Fediverse on moderated instances or by helping others join the Fediverse.

BT Free Social: About 路 Code of conduct 路 Privacy 路
Bonfire social 路 1.0.2-alpha.34 no JS en
Automatic federation enabled
Log in
Instance logo
  • Explore
  • About
  • Code of Conduct