3 ms·
> The quantization formula ppmtopgm uses is g = .299 r + .587 g + .114 b. Seriously. We can trust linux man pages to use the same 1-letter variable name for 2
by skrebbel 10mo ago
> The quantization formula ppmtopgm uses is g = .299 r + .587 g + .114 b.
Seriously. We can trust linux man pages to use the same 1-letter variable name for 2 different things in a tiny formula, can't we?
- yencabulator 10mo agoYes, let's blame the documentation for a program from 1989 on a kernel from 1991.
- fragmede 10mo agoWell, we can't blame that on an LLM in any case
- bayindirh 10mo agoIn my copy the exact line is as follows: The quantization formula ppmtopgm uses is y = .299 r + .587 g + .114 b. so, it's either fixed, or it's a typo to begin with.