大家好!
在DM368上,可使用SW OSD Lib实现字符的透明度叠加,不知道可不可实现图片的透明度叠加,而且透明度可以自定义。实际测试时只能看到叠加的图片上某一种颜色实现透明,不能实现所有像素点都透明。
请问有没有人实现过图片的透明度叠加显示呢? 有没有方案可以参考参考。
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
你好,
SWOSD的文档有如下描述,blending是不支持的。
Blending would not be supported. Only transparency is available
如果要实现透明度叠加,需要你自己在ARM上写算法。
在368上写过OSD的中英文叠加,可透明和反色,理论上图片也是可以叠加的,但是要透明就得你这图片是透明的,叠加原理是改变对应的Y和UV数据