View Single Post
Old 28th November 2018, 17:37   #10  |  Link
poisondeathray
Registered User
 
Join Date: Sep 2007
Posts: 5,377
Quote:
Originally Posted by ChaosKing View Post
One additional question. Is it possible to make the black background transparent? RGBA? How would this look in vs code?
Copy itself as Y8 into the alpha channel . Vapoursynth passes RGB24 + Y8 as the alpha

e.g (starting from your RGB png)

Code:
v = core.imwri.Read(r'PATH\7MQEv0x.png')
a = core.resize.Point(v, format=vs.GRAY8, matrix_s="709", range_s="full")
v.set_output(alpha=a)
poisondeathray is offline   Reply With Quote