New submission from Thomas Stolarski <thomas.stolar...@gmail.com>:

Since the implementation of `rgb_to_yiq` roughly 30 years ago now, the advent 
of HDTV has resulted in most broadcasting and video processing having moved 
towards Rec 709 (or BT.709).

While I know colorsys has been on the chopping block for a while, it seemed a 
little silly that what is now arguably the most common color space used in 
video editors isn't available as part of this module, despite being a matrix 
mapping like much of the others.

YUV is a bit more contentious on its definition than YIQ is, but it is still 
widely used to refer to Rec 709 and this is the ATSC standardization for HDTV.

I've written a PR for both conversions and will add it to this ticket once it's 
up.

----------
components: Library (Lib)
messages: 406067
nosy: thomas.stolarski
priority: normal
severity: normal
status: open
title: Implementation of colorsys.rgb_to_yuv and vice versa
type: enhancement
versions: Python 3.11

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue45775>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to