FLIF-hub / FLIF

Free Lossless Image Format
Other
3.72k stars 229 forks source link

Retrieving raw YCoCg value? #489

Open saschanaz opened 6 years ago

saschanaz commented 6 years ago

I'd like to get raw YCoCg without RGB conversion for a file format converter, can I do it?

jonsneyers commented 6 years ago

You could implement somethingl like that, but why? It's a lossless conversion, so not like YCbCr. And the way it is implemented in FLIF, you need 9 bit Co/Cg if the input RGB is 8 bit, so that's not very practical...