Method for converting any font character into jet printing dot matrix
The invention discloses a method for converting any font character into a jet printing dot matrix. The method comprises the following steps of: obtaining a picture in a JPG format or a PNG format withgiven font characters; reading the width and the height of the picture; obtaining gray information o...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention discloses a method for converting any font character into a jet printing dot matrix. The method comprises the following steps of: obtaining a picture in a JPG format or a PNG format withgiven font characters; reading the width and the height of the picture; obtaining gray information of the picture; performing binarization processing, storing the result of the binarization processing in a two-dimensional array binary; extracting a part with font characters in the two-dimensional array binary, and storing the part in a character array dst _ roi; zooming the character array to obtain a jet printing array dst _ zoom with a proper size, finally inputting the jet printing array dst _ zoom into an upper computer of jet printing equipment, and controlling a jet printing device to perform jet printing work on the surface of the product; the method can realize the jet printing work of any font character, and has the characteristics of strong adaptability, high convenience and high efficiency.
一种将任意字体字符转化 |
---|