Thread: HAvsFunc
View Single Post
Old 25th March 2020, 08:06   #515  |  Link
HolyWu
Registered User
 
Join Date: Aug 2006
Location: Taiwan
Posts: 392
Quote:
Originally Posted by poisondeathray View Post
YUV overlay mask transparency issue. Partial transparency issue on 100% white areas
Thanks. Should be fixed now (rebased into the last commit).


Quote:
Originally Posted by poisondeathray View Post
But there is no Gray10 format, so 10bit YUV overlay with mask is out of luck, or 12bit YUV
You can use core.register_format for formats without constants predefined.
Code:
logoalpha2 = core.resize.Bicubic(logo[1], format=core.register_format(vs.GRAY, vs.INTEGER, 10, 0, 0).id, matrix_s="709", range_s="full")
HolyWu is offline