GithubHelp home page GithubHelp logo

linuxdigger / hzk-osd Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lmshao/hzk-osd

0.0 1.0 0.0 1.01 MB

使用HZK16点阵字体库把字符转换为RGB555格式BMP图像,可用于视频叠加字符串OSD信息。

License: GNU Lesser General Public License v3.0

CMake 0.90% C 98.45% Makefile 0.66%

hzk-osd's Introduction

HZK-OSD

功能

根据指定字符串信息,从hzk16字体库中读取相应字符的点阵数据,然后写入RGB555格式的BMP图像中,可用于在视频中以BMP图像形式叠加字符OSD信息。 本程序支持GB2312编码格式的汉字和英文字母等半角符号。

示例

字符信息
字符串信息BMP
时间戳信息
时间戳信息BMP

说明

font 目录下为hzk16字体文件。 RGB555格式BMP图像格式为:

+------------------+------------------+----------------+
| BitmapFileHeader | BitmapInfoHeader |  BMP Data ...  |
+------------------+------------------+----------------+

常见的BMP图像其BMP Data数据为倒序的,即数据从最后一行开始,第一行的数据在文件最后。

hzk-osd's People

Contributors

lmshao avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.