ScnLib_UpdateLogoImage() | 标准版 | 专业版 | 超级版 | 至尊版 |
C++ |
__declspec(dllimport) void __stdcall ScnLib_UpdateLogoImage(const PVOID pRGB, int nWidth, int nHeight, int nBitCount); |
✔ | ✔ | ✔ | ✔ |
C# |
[DllImport("ScnLib.dll")] public static extern void ScnLib_UpdateLogoImage(IntPtr RGB, int Width, int Height, int BitCount); |
Basic |
Public Declare Sub ScnLib_UpdateLogoImage Lib "ScnLib.dll" (ByVal RGB As IntPtr, ByVal Width As Int32, ByVal Height As Int32, ByVal BitCount As Int32) |
Delphi |
procedure ScnLib_UpdateLogoImage(const RGB: Pointer; Width: Integer; Height: Integer; BitCount: Integer); stdcall; external 'ScnLib.dll'; |
- 描述
用DIB(Device-Independent Bitmaps)来设置徽标图像。
- 参数
- RGB [in]
指向徽标DIB(Device-Independent Bitmaps)的像素缓冲区的指针。
- Width [in]
徽标DIB的宽度。
- Height [in]
徽标DIB的高度。
- BitCount [in]
徽标DIB的像素位数,只支持32位、24位和16位RGB DIB。
- 返回值
无。
- 备注
除了从文件中加载徽标图像,您还可以调用此函数用内存中的DIB(Device-Independent Bitmaps)来设置徽标图像。要隐藏徽标图像,您可以传入任何零值参数调用此函数。这种方式允许更动态地控制徽标图像,使您能够使用在运行时生成或修改的图像。在视频录制或直播推流过程中,这种徽标图像管理的灵活性提供了更丰富的自定义效果。请注意,DIB的行跨距必须是DWORD(4 字节)的倍数。在处理24位或16位DIB时,这一点尤为重要。
- 参见
ScnLib_IsLogoImagePresent()
ScnLib_SetLogoImageA/W()
|