Home / Docs Center / Device API Reference / UploadOSDImage Real-time Overlay

UploadOSDImage Real-time Overlay

Device API Reference · New API

Project: Device Interface Document (New Version) | page_id: 1018

[TOC]

Brief Description
  • Upload OSD image for real-time overlay
Request URL
  • /xsw/api/system/uploadMulFile?fileDir=/tmp
Request Method
  • POST

header["content-type"] = "multipart/form-data"

Parameters
Parameter Name Required Type Description
k1 No File OSD file name for region 1 overlay: logo_1_1.bmp
k2 No File OSD file name for region 2 overlay: logo_1_2.bmp
k3 No File OSD file name for region 3 overlay: logo_1_3.bmp
k4 No File OSD file name for region 4 overlay: logo_1_4.bmp

The original image needs to be in png format; please change the extension .png to .bmp before uploading. We apologize for the inconvenience

Request Example

Notes
  • The uploaded file name is fixed and cannot be changed at will, otherwise it will be invalid
  • The image width and height must be a multiple of 16, for example: 160*160
Didn't find what you need?Contact us,Talk to our engineers directly.

Request a Quote

Fill in the form and we will get back with a quote and proposal within 1 business day.

Click "Generate inquiry email" to open your mail client with the body pre-filled. If no mail client is configured, click "Copy" and paste it into webmail — recipient: sunshiyang@xstrive.com.