CN109859414A - A kind of method and system realizing POS machine Logo array modification and generating - Google Patents

A kind of method and system realizing POS machine Logo array modification and generating Download PDF

Info

Publication number
CN109859414A
CN109859414A CN201811573621.3A CN201811573621A CN109859414A CN 109859414 A CN109859414 A CN 109859414A CN 201811573621 A CN201811573621 A CN 201811573621A CN 109859414 A CN109859414 A CN 109859414A
Authority
CN
China
Prior art keywords
picture
type matrix
module
pos machine
logo
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811573621.3A
Other languages
Chinese (zh)
Inventor
刘福标
祁兵
鲍新宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vanstone Electronic Beijing Co Ltd
Original Assignee
Vanstone Electronic Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vanstone Electronic Beijing Co Ltd filed Critical Vanstone Electronic Beijing Co Ltd
Priority to CN201811573621.3A priority Critical patent/CN109859414A/en
Publication of CN109859414A publication Critical patent/CN109859414A/en
Pending legal-status Critical Current

Links

Abstract

The present invention provides a kind of method and system realizing POS machine Logo array modification and generating, and is related to picture editor field, the method includes following either method: 1) directly conversion picture format forms Logo array;2) Logo picture is directly drawn;3) type matrix in character library is extracted;The system comprises server end and client, the server end mainly uses the various pictures of database purchase and type matrix, and provides interface access, saves picture and type matrix;The client includes picture reading module, picture editor's module, picture drafting module, picture display module, matrix withdraw module and character library generation module;BMP picture can directly be converted by the system and method or be generated as the Logo array used for POS program by drawing picture, enabled POS machine more beautiful when interface display and printing, be more able to satisfy the demand of client.

Description

A kind of method and system realizing POS machine Logo array modification and generating
Technical field
The present invention relates to picture editor field more particularly to it is a kind of realize POS machine logo array modification generate method and System.
Background technique
With the business development of company, product is increasing, and client is increasing.Requirement to picture is more and more.It opens Hair also faces this various problem, and professional POS knowledge proposes very high requirement for developer, it is desirable that is familiar with point of LCD Resolution understands various POS requirement to display, decorrelation plate format, understands the interface calling that each model POS picture show It is required that it is short in face of the PROJECT TIME period, situations such as development amount big situation, requires application developer to need emphasis The business processing relationship of decorrelation application and not pay close attention to the contents (such as: POS machine picture is shown) of other aspects, Er Qiegong Department also constantly to overseas development, needs to show the various spoken and written languages of printing, while overseas customer is also required to display printing one A little special characters, this requires us the character library of multiplicity, to meet the needs of client.
Summary of the invention
The purpose of the present invention is to provide a kind of method and system realizing POS machine Logo array modification and generating, to solve Foregoing problems certainly existing in the prior art.
To achieve the goals above, The technical solution adopted by the invention is as follows:
A method of realizing that POS machine Logo array modification generates, the method can be raw for directly conversion picture format At Logo array, comprising the following steps:
S11 opens picture to be converted: opening picture reading program, Loads Image and show picture in screen window;
S12 selects picture conversion regime: selecting longitudinal value, the either lateral value of byte bit-reversed, byte position positive sequence Mode;
S13 adjusts bitmap: clicking the pixel in preview graph, changes the color of pixel;
S14 generates Logo array: will read and modified pixel number is stored in array according to by BMP file format.
Preferably, step S11 specifically includes the following steps:
It calls LoadImage function to Load Image, then calls SelectObject that picture is shown in memory DC, most StretchBlt is called to be shown in screen window afterwards;
Routine call SetPixel modifies the value of the pixel in step S13, to change pixel color.
A method of realizing that POS machine Logo array modification generates, the method is directly to draw picture Logo, specific to wrap Include following steps:
S21 sets dimension of picture: setting the length and width of picture to be drawn, shows blank picture;
S22, editing picture content: editor draws picture in the blank picture region set;
S23 saves image content: the picture completed is stored in Logo array.
Preferably, step S22 is specifically included:
A. it draws people and inverts its color by clicking the respective pixel of picture on display window;
B. as needed, can amplification picture region, and show gridlines are convenient for drawing image, while can also cancel grid Line adjusts picture display scale to check the Logo effect of generation.
A method of realizing that POS machine Logo array modification generates, the method can also have to extract type matrix in character library Body the following steps are included:
S31 extracts type matrix: extracting the type matrix of general character and the type matrix of spcial character respectively;
S32 establishes character library: the type matrix extracted being encoded or classified, storage forms character library into server;
S33 directly reads type matrix in character library and generates Logo array.
Preferably, the type matrix of general character is by extracting word from the text importing system of Windows in step S31 Mould.
Preferably, the type matrix of spcial character can convert editor by picture or draw extraction after picture in step S31 It obtains.
Preferably, coding is carried out using UNICODE coding method to type matrix in step S32, the application coding only uses The privately owned reservation region of UNICODE coding method: E000-F8FF, standard code disclosed in this region will not be used, and volume is avoided The conflict of code.
It preferably, to the standard that the type matrix extracted is classified is classified according to country origin and project in step S32.
It is a further object of the present invention to provide a kind of systems realizing POS machine Logo array modification and generating, which is characterized in that The system comprises server end and client, the server end mainly uses the various pictures of database purchase and type matrix, and Interface access is provided, picture and type matrix are saved;
The client includes picture reading module, picture editor's module, picture drafting module, picture display module, word Mould extraction module and character library generation module, the picture reading module is for reading picture to be converted;The picture editor Module is for editing conversion picture format pixel;The picture drafting module is for drawing new picture;The picture display module For showing picture;The character extraction module is for extracting character from server end or character library;The character library generation module The type matrix extracted is encoded or classified, storage forms character library into server.
The beneficial effects of the present invention are:
The present invention provides a kind of method and system realizing POS machine Logo array modification and generating, and passes through the system and method BMP picture can directly be converted or be generated as the Logo array used for POS program by drawing picture, so that POS exists Can be more beautiful when interface display and printing, more it is able to satisfy the demand of client;Picture can when being converted to Logo array Manual editing's bitmap keeps the array effect generated more perfect.
Secondly, being managed concentratedly by establishing character library to common type matrix and special type matrix, and allows to edit and add newly Type matrix thus can quickly meet the needs of foreign customers show and print to foreign language, while can also lay in type matrix, convenient for development New client.And the character library occupancy memory space generated is small, is easy to show and print.
Detailed description of the invention
Fig. 1 is the method flow diagram for generating Logo array in embodiment 1 by conversion picture;
Fig. 2 is the system composition figure realizing POS machine Logo array modification in embodiment 4 and generating;
Fig. 3 is client use state with reference to figure (editing picture).
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing, to the present invention into Row is further described.It should be appreciated that the specific embodiments described herein are only used to explain the present invention, it is not used to Limit the present invention.
Embodiment 1
The present embodiment provides a kind of methods that directly conversion picture format generates Logo array, comprising the following steps:
S11 opens picture to be converted: opening picture reading program, calls LoadImage function to Load Image, then adjust Picture is shown in memory DC with SelectObject, finally StretchBlt is called to be shown in screen window;
S12 selects picture conversion regime: selecting longitudinal value, the either lateral value of byte bit-reversed, byte position positive sequence Mode;
S13 adjusts bitmap: clicking the pixel in preview graph, calls SetPixel to modify the value of the pixel, change The color of pixel;
S14 generates Logo array: will read and be stored in Logo number according to by BMP file format with modified pixel number In group.
Embodiment 2
The present embodiment provides the methods for directly drawing picture realization POS machine Logo array modification generation, specifically include following Step:
S21 sets dimension of picture: setting the length and width of picture to be drawn, shows blank picture;
S22, editing picture content: editor draws picture in the blank picture region set;
S23 saves image content: the picture completed is stored in Logo array.
Preferably, step S22 is specifically included:
A. it draws people and inverts its color by clicking the respective pixel of picture on display window;
B. as needed, can amplification picture region, and show gridlines are convenient for drawing image, while can also cancel grid Line adjusts picture display scale to check the Logo effect of generation.
Embodiment 3
The present embodiment provides a kind of type matrixes by extraction character library to realize the method that POS machine Logo array modification generates, Specifically includes the following steps:
S31 extracts type matrix: extracting the type matrix of general character and the type matrix of spcial character respectively;The type matrix of general character Be by extracting type matrix from the text importing system of Windows, the type matrix of spcial character can be converted by picture editor or Extraction obtains after drawing picture.
S32 establishes character library: the type matrix extracted is encoded using UNICODE coding method, and according to country origin and Project is classified, and is then stored in server and is formed character library;
S33 can directly read type matrix in character library when needing to generate Logo array, the type matrix needed is selected to generate Logo number Group.
Embodiment 4
The present embodiment provides a kind of systems realizing POS machine Logo array modification and generating, which is characterized in that the system packet Server end and client are included, the server end mainly uses the various pictures of database purchase and type matrix, and provides interface visit It asks, saves picture and type matrix;
The client includes picture reading module, picture editor's module, picture drafting module, picture display module, word Mould extraction module and character library generation module, the picture reading module is for reading picture to be converted;The picture editor Module is for editing conversion picture format pixel;The picture drafting module is for drawing new picture;The picture display module For showing picture;The character extraction module is for extracting character from server end or character library;The character library generation module The type matrix extracted is encoded or classified, storage forms character library into server.
By using above-mentioned technical proposal disclosed by the invention, following beneficial effect has been obtained:
The present invention provides the method and system for realizing that POS machine Logo array modification generates, and can be incited somebody to action by the system and method BMP picture directly converts or is generated as the Logo array used for POS program by drawing picture, so that POS is at interface Can be more beautiful when display and printing, more it is able to satisfy the demand of client;Picture can be manual when being converted to Logo array Editor's bitmap keeps the array effect generated more perfect.
Secondly, being managed concentratedly by establishing character library to common type matrix and special type matrix, and allows to edit and add newly Type matrix thus can quickly meet the needs of foreign customers show and print to foreign language, while can also lay in type matrix, convenient for development New client.And the character library occupancy memory space generated is small, is easy to show and print.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, various improvements and modifications may be made without departing from the principle of the present invention, these improvements and modifications are also answered Depending on protection scope of the present invention.

Claims (10)

1. a kind of method realizing POS machine Logo array modification and generating, which is characterized in that the method is direct transition diagram frame Formula generates Logo, comprising the following steps:
S11 opens picture to be converted: opening picture reading program, Loads Image and show picture in screen window;
S12 selects picture conversion regime: selecting longitudinal value, the either lateral value of byte bit-reversed, byte position positive sequence side Formula;
S13 adjusts bitmap: clicking the pixel in preview graph, changes the color of pixel;
S14 generates Logo array: will read and modified pixel number is stored in array according to by BMP file format.
2. the method according to claim 1 realizing POS machine Logo array modification and generating, which is characterized in that
Step S11 specifically includes the following steps:
It calls LoadImage function to Load Image, then calls SelectObject that picture is shown in memory DC, finally adjust It is shown in screen window with StretchBlt;
Routine call SetPixel modifies the value of the pixel in step S13, to change pixel color.
3. a kind of method realizing POS machine Logo array modification and generating, which is characterized in that the method is directly to draw picture Logo, specifically includes the following steps:
S21 sets dimension of picture: setting the length and width of picture to be drawn, shows blank picture;
S22, editing picture content: editor draws picture in the blank picture region set;
S23 saves image content: the picture completed is stored in Logo array.
4. POS machine Logo according to claim 3 edits the method generated, which is characterized in that step S22 is specifically included:
A. it draws people and inverts its color by clicking the respective pixel of picture on display window;
B. as needed, can amplification picture region, and show gridlines.
5. a kind of method realizing POS machine Logo array modification and generating, which is characterized in that the method is to extract word in character library Mould, specifically includes the following steps:
S31 extracts type matrix: extracting the type matrix of general character and the type matrix of spcial character respectively;
S32 establishes character library: the type matrix extracted being encoded or classified, storage forms character library into server;
S33 directly reads type matrix in character library and generates Logo array.
6. the method according to claim 5 realizing POS machine Logo array modification and generating, which is characterized in that in step S31 The type matrix of general character is by extracting type matrix from the text importing system of Windows.
7. the method according to claim 5 realizing POS machine Logo array modification and generating, which is characterized in that in step S31 The type matrix of spcial character can be obtained by extracting after picture editor or drafting picture.
8. the method according to claim 5 realizing POS machine Logo array modification and generating, which is characterized in that in step S32 Coding is carried out using UNICODE coding method to type matrix, the application coding is only using the privately owned reservation of UNICODE coding method Region: E000-F8FF.
9. the method according to claim 5 realizing POS machine Logo array modification and generating, which is characterized in that in step S32 Classify type matrix according to country origin and project and classifies.
10. a kind of system realizing POS machine Logo array modification and generating, which is characterized in that the system comprises server end and Client, the server end mainly use the various pictures of database purchase and type matrix, and provide interface access, save picture and Type matrix;
The client includes that picture reading module, picture editor's module, picture drafting module, picture display module, type matrix mention Modulus block and character library generation module, the picture reading module is for reading picture to be converted;Picture editor's module Picture format pixel is converted for editing;The picture drafting module is for drawing new picture;The picture display module is used for Show picture;The character extraction module is for extracting character from server end or character library;The character library generation module will mention The type matrix got is encoded or is classified, and storage forms character library into server.
CN201811573621.3A 2018-12-21 2018-12-21 A kind of method and system realizing POS machine Logo array modification and generating Pending CN109859414A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811573621.3A CN109859414A (en) 2018-12-21 2018-12-21 A kind of method and system realizing POS machine Logo array modification and generating

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811573621.3A CN109859414A (en) 2018-12-21 2018-12-21 A kind of method and system realizing POS machine Logo array modification and generating

Publications (1)

Publication Number Publication Date
CN109859414A true CN109859414A (en) 2019-06-07

Family

ID=66891882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811573621.3A Pending CN109859414A (en) 2018-12-21 2018-12-21 A kind of method and system realizing POS machine Logo array modification and generating

Country Status (1)

Country Link
CN (1) CN109859414A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111028441A (en) * 2019-10-31 2020-04-17 艾体威尔电子技术(北京)有限公司 Method for displaying various languages and characters on micro memory password keyboard

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020087403A1 (en) * 2001-01-03 2002-07-04 Nokia Corporation Statistical metering and filtering of content via pixel-based metadata
CN1983239A (en) * 2006-04-06 2007-06-20 华为技术有限公司 Method and system for inputting and displaying character
US9076140B2 (en) * 2012-06-26 2015-07-07 Wal-Mart Stores, Inc. Image embedding apparatus and method
CN106951397A (en) * 2017-03-08 2017-07-14 福建魔方电子科技有限公司 A kind of multi-font display methods of built-in terminal
CN107256134A (en) * 2017-04-25 2017-10-17 百富计算机技术(深圳)有限公司 It is virtually method and apparatus, the POS terminal of computer printer by POS terminal
CN107895389A (en) * 2017-11-30 2018-04-10 广东欧珀移动通信有限公司 A kind of image display method, device, mobile terminal and storage medium
CN108073594A (en) * 2016-11-10 2018-05-25 北京国双科技有限公司 A kind of method and device for generating thermodynamic chart
CN108196964A (en) * 2017-12-29 2018-06-22 北京奇虎科技有限公司 A kind of method and apparatus by Streams Module

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020087403A1 (en) * 2001-01-03 2002-07-04 Nokia Corporation Statistical metering and filtering of content via pixel-based metadata
CN1983239A (en) * 2006-04-06 2007-06-20 华为技术有限公司 Method and system for inputting and displaying character
US9076140B2 (en) * 2012-06-26 2015-07-07 Wal-Mart Stores, Inc. Image embedding apparatus and method
CN108073594A (en) * 2016-11-10 2018-05-25 北京国双科技有限公司 A kind of method and device for generating thermodynamic chart
CN106951397A (en) * 2017-03-08 2017-07-14 福建魔方电子科技有限公司 A kind of multi-font display methods of built-in terminal
CN107256134A (en) * 2017-04-25 2017-10-17 百富计算机技术(深圳)有限公司 It is virtually method and apparatus, the POS terminal of computer printer by POS terminal
CN107895389A (en) * 2017-11-30 2018-04-10 广东欧珀移动通信有限公司 A kind of image display method, device, mobile terminal and storage medium
CN108196964A (en) * 2017-12-29 2018-06-22 北京奇虎科技有限公司 A kind of method and apparatus by Streams Module

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111028441A (en) * 2019-10-31 2020-04-17 艾体威尔电子技术(北京)有限公司 Method for displaying various languages and characters on micro memory password keyboard

Similar Documents

Publication Publication Date Title
US10282410B2 (en) Assistive technology for the impaired
DE60128895T2 (en) METHOD AND SCHEME TO USE XML SCHEMATA
US8595614B2 (en) Document generating apparatus, document generating method, computer program and recording medium
US20050262049A1 (en) System, method, device, and computer code product for implementing an XML template
CN105608066A (en) Method and device for generating evidence report
US20120011429A1 (en) Image processing apparatus and image processing method
US20060161890A1 (en) Application-generic sequence diagram generator driven by a non-proprietary language
CN111767698B (en) Electronic form system based on OFD format file technology
CN107423004B (en) Method for printing bill by POS terminal and POS terminal
CN109859414A (en) A kind of method and system realizing POS machine Logo array modification and generating
CN110474836A (en) A kind of email template generation method, calculates equipment and medium at device
CN109815451B (en) PDF (Portable document Format) generation method, device and equipment
CN102708160A (en) Method and device for establishing question bank
CN103488441A (en) Implementation method for printing Arabic on POS (point-of-sale) terminals
US20210125386A1 (en) Systems and methods for clipping images
US8185565B2 (en) Information processing apparatus, control method, and storage medium
CN102855602A (en) Picture processing method and picture processing device
CN102880595A (en) System and method for providing online reading
CN112801828A (en) Client contract agreement signing and maintaining method
US10372789B2 (en) Creating high fidelity page layout documents
KR20020000413A (en) The converting method from the docutment written by QuarkXpress to the XML data
US20100293452A1 (en) Information processing apparatus and information processing method
CN114818633A (en) PDF report generation system, method, electronic equipment and storage medium
CN112651725B (en) Electronic invoice parsing method and device
JP3865688B2 (en) External character processing system, external character processing program, and external character processing method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190607

RJ01 Rejection of invention patent application after publication