lime icon indicating copy to clipboard operation
lime copied to clipboard

libjpeg forks

Open player-03 opened this issue 2 years ago • 2 comments

Wikipedia lists two well-known forks of libjpeg: libjpeg-turbo is optimized for speed, while mozjpeg is optimized for filesize. Should Lime use one of these instead of the original? If so, which?

(Bonus: both are Git repos, meaning they'll be easier to keep up to date.)

player-03 avatar May 07 '22 02:05 player-03

Since lime only does jpeg decoding, the best replacement would be libjpeg-turbo. MozJPEG is a fork of libjpeg-turbo with improvements for compression and encoding, so it wouldn't provide any advantages for lime.

Apprentice-Alchemist avatar May 08 '22 14:05 Apprentice-Alchemist

Fair enough. That's probably the same reason Chrome prefers it.

player-03 avatar May 09 '22 18:05 player-03