Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
YCbCr format confusion #1002
so I'm trying to figure out how to convert this format to [R,G,B], and I'm finding alot of various conversions and things and I'm extremely confused on this one...
for one, PIL's format is apparently borked:
for two, I have no idea which YCbCr format is used in pillow:
I think I may just skip support on this format until there's better documentation available >_>
I think Mark Ransom from SO gave exhaustive answer: It not broken, it follows JPEG YCbCr definition.
Every JPEG in
i = Image.open('small.jpg') i.draft('YCbCr', None) i.load()
But again, this will be JPEG definition of
ah ok thanks, might wanna edit the doc and make that a little more known and easier to find out. ;)
if you like, anything I run across regarding confusion on this I can:
@Tcll Would you like to submit a PR to update the docs?
The generated docs: http://pillow.readthedocs.org/