Method and apparatus for generating two-dimensional barcode picture having dynamic effect
AssigneeTencent Technology (Shenzhen) Company Limited
InventorJiasheng Huang
Life of this patent
Estimating the term…
Loading patent…
AssigneeTencent Technology (Shenzhen) Company Limited
InventorJiasheng Huang
Estimating the term…
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.
A method for generating a two-dimensional barcode picture having a dynamic effect, the method comprising:
An apparatus for generating a two-dimensional barcode picture having a dynamic effect, comprising:
A non-transitory computer readable storage medium, storing computer readable instructions, the computer readable instructions causing one or more processors to:
Dependencies are inferred from the claim text.