ZD Screen Recorder SDK API – ScnLib_UpdateLogoImage()

ScnLib_UpdateLogoImage()

Std EditionPro EditionMax EditionUltra Edition
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';
  • Description
    Set the logo from a DIB.

  • Parameters
    • RGB [in]
      The pointer to the pixel buffer of the logo DIB (Device-Independent Bitmaps).
    • Width [in]
      The width of the logo DIB.
    • Height [in]
      The height of the logo DIB.
    • BitCount [in]
      The pixel bit count for the logo DIB, supporting only 32, 24, and 16-bit RGB DIB.
  • Return Value
    None.

  • Remarks
    In addition to loading the logo image from a file, you have the option to use this function to set the logo from a DIB (Device-Independent Bitmaps) stored in RAM. To hide the logo image, you may call this function with any a zero value parameters. This method allows for more dynamic control of the logo, enabling you to use images generated or modified during runtime. This flexibility in logo management allows for various customization options during video recording or streaming. Note that the row pitch of the DIB must be a multiple of the size of a DWORD (4 bytes). This is particularly important when working with 24-bit or 16-bit DIBs.

  • See Also
    ScnLib_IsLogoImagePresent()
    ScnLib_SetLogoImageA/W()

Shopping Cart
  • Your cart is empty.
Scroll to Top