View Full Version : nnedi2_rpow2 on ARGB image?
shoopdabloop
11th October 2009, 22:35
I was just wondering how I would go about using nnedi2_rpow2 on an ARGB image while still keeping the alpha intact, and maybe without leaving RGB24-background-color artifacts on the edges of the non-transparent parts?
Thanks in advance!
thewebchat
12th October 2009, 00:38
Use the MergeARGB function to remap the channels and play magical chroma.
IanB
12th October 2009, 00:45
Not the fastest, but this may help bootstrap you along, ......
A=ShowAlpha("YV12")
R=ShowRed("YV12")
G=ShowGreen("YV12")
B=ShowBlue("YV12")
A=A.nnedi2_rpow2...
R=R.nnedi2_rpow2...
G=...
B=...
MergeARGB(A, R, G, B)
vBulletin® v3.8.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.