Invention Grant
- Patent Title: Method and apparatus for generating two-dimensional barcode picture having dynamic effect
-
Application No.: US15995873Application Date: 2018-06-01
-
Publication No.: US10373034B2Publication Date: 2019-08-06
- Inventor: Jiasheng Huang
- Applicant: Tencent Technology (Shenzhen) Company Limited
- Applicant Address: CN Shenzhen
- Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- Current Assignee: TENCENT TECHNOLOGY (SHENZHEN) COMPANY LIMITED
- Current Assignee Address: CN Shenzhen
- Agency: Brinks Gilson & Lione
- Priority: CN201610309494 20160510
- Main IPC: G06K19/06
- IPC: G06K19/06 ; G06T13/80 ; G06F3/041

Abstract:
A system for generating a two-dimensional barcode picture having a dynamic effect may receive a target character string and encode the target character string into a two-dimensional barcode sequence. The system may obtain a feature bit in the two-dimensional barcode sequence and calculating relative coordinates of the feature bit in a two-dimensional barcode specification matrix. The system may obtain a preset drawing area and map the feature bit into a feature area in the drawing area according to the relative coordinates of the feature bit in the two-dimensional barcode specification matrix. The system may draw a dynamic picture in the drawing area by using a canvas component according to a preset animation effect definition. An image frame of the dynamic picture at the end of an animation effect being an image frame having the feature area configured with a pixel whose grayscale value is a standard grayscale value corresponding to the feature bit.
Public/Granted literature
- US20180276515A1 METHOD AND APPARATUS FOR GENERATING TWO-DIMENSIONAL BARCODE PICTURE HAVING DYNAMIC EFFECT Public/Granted day:2018-09-27
Information query