View Single Post
Old 17th September 2019, 03:09   #2  |  Link
StainlessS
HeartlessS Usurer
 
StainlessS's Avatar
 
Join Date: Dec 2009
Location: Over the rainbow
Posts: 10,980
Code:
WH=4
A=BlankClip(width=WH,height=WH) B=A.Invert StackHorizontal(A,B) StackVertical(Invert) trim(0,-1)
#ConvertToRGB24
#ConvertToRGB32
ConvertToYUY2
#ConvertToYV12
#ConvertToYV16
#ConvertToYV24
#ConvertToY8
ORG=Last
trim(0,-1)

LogoW    = Width/2
LogoH    = Height/2

LogoX    = (Width-LogoW)/2
LogoY    = (Height-LogoH)/2

ClipX    =  0    # Black border area, +ve ONLY
ClipY    =  0    #   ditto
ClipW    =  0    #   Can be -ve, Width  relative
ClipH    =  0    #   Can be -ve, Height relative

SAR       = 1.0
BLURPOWER =  3.0
SHOWMODE  =    2
BLANK     =  False

Uglarm(LogoX,LogoY,LogoW,LogoH,ClipX,ClipY,ClipW,ClipH,SAR,BlurPower,ShowMode,BLANK)

PointResize(512,512)
Pre-Blur (Full Image 8x8 pixels)


Post Blur (Full Image 8x8 pixels)


Post Blur (Full Image 64x64 pixels)


Code:
WH=32
#CS="RGB24"
#CS="RGB32"
#CS="YUY2"
CS="YV12"
#CS="YV16"
#CS="YV24"
#CS="Y8"
A=BlankClip(Pixel_Type=CS,width=WH,height=WH,Color=$E6AF42)
B=A.Invert
C=StackHorizontal(A,B)
D=StackHorizontal(B,A) StackVertical(C,D) trim(0,-1)
trim(0,-1)

LogoW    = Width/2
LogoH    = Height/2

LogoX    = (Width-LogoW)/2
LogoY    = (Height-LogoH)/2

ClipX    =  0    # Black border area, +ve ONLY
ClipY    =  0    #   ditto
ClipW    =  0    #   Can be -ve, Width  relative
ClipH    =  0    #   Can be -ve, Height relative

SAR       =  1.0
BLURPOWER =  3.0
SHOWMODE  =    2
BLANK     =  False

Uglarm(LogoX,LogoY,LogoW,LogoH,ClipX,ClipY,ClipW,ClipH,SAR,BlurPower,ShowMode,BLANK)

PointResize(512,512)

return last #.Info
Pre-Blur (Full Image 64x64 pixels)


Post Blur (Full Image 64x64 pixels)
__________________
I sometimes post sober.
StainlessS@MediaFire ::: AND/OR ::: StainlessS@SendSpace

"Some infinities are bigger than other infinities", but how many of them are infinitely bigger ???

Last edited by StainlessS; 17th September 2019 at 04:55.
StainlessS is offline   Reply With Quote