Thread: Avisynth+
View Single Post
Old 28th January 2020, 15:24   #5082  |  Link
pinterf
Registered User
 
Join Date: Jan 2014
Posts: 2,314
Quote:
Originally Posted by StainlessS View Post
Thanx P & Q. (No not Uma & Quentin).

This bug persists.

https://forum.doom9.org/showthread.p...29#post1893529


Code:
BITS=16
BlankClip.ConvertToYV12.ConvertBits(BITS)
X = 16
Y = 16
W = 128
H = 128
#COL=$00FFFFFF   # No Alpha
COL=$FFFFFFFF   # Full Alpha
WHT=BlankClip(Width=W,Height=H,Color=COL)   # Prob if RGB32 or YV12, but not YUV420P16
WHT=WHT.ConvertToYV12
#WHT=WHT.ConvertBits(BITS)
Overlay(WHT,x=X,y=Y)
crop(0,0,W+2*X,H+2*Y)                       # Crop Overlayed with 16 pixels border
PointResize(512,512)                        # for view
Yikes! Ugly like hell.
pinterf is offline