2018-01-14, 10:26 AM
(2018-01-14, 10:23 AM)random.next Wrote:(2018-01-14, 09:58 AM)TomArrow Wrote: random.next would have to implement some form of pre-multiply for that (I hope that's the right term), where basically the image is always pushed to 100% alpha internally where it is above 0% alpha. The mask then recreates the original border, eliminating the imperfection. That's what TIFF images with alpha masks do.
OR, make use of RGBA mode with an actual alpha channel. That way there would be no black background in the first place. But the implementation would have to likely use some form of premultiply anyway, so it probably doesn't matter.
The plugin only supports planar and RGB24 color spaces with mask images. RGB32 with alpha is not supported currently because it is completly different way to process transperency.
Inside the plugin OvelayRender uses standard avisynth functions to overlay frames. Only OverlayEngine directly works with images when diff are calculated and some other support filters.
Ah I see. Maybe the solution is then to find an AviSynth resize/rotate function that does a form of premultiplying and pass that one through to OverlayRender.

I'll try resampleMT - EDIT: yep, the sd sources are upsized beforehand.

)
![[Image: 1.png]](https://preview.ibb.co/hjKTp6/1.png)
![[Image: 2.png]](https://preview.ibb.co/iPxnhR/2.png)
![[Image: 3.png]](https://preview.ibb.co/bF1f2R/3.png)
![[Image: 4.png]](https://preview.ibb.co/fbhL2R/4.png)
![[Image: 5.png]](https://preview.ibb.co/kijdp6/5.png)