Method and apparatus for generating two-dimensional barcode picture having dynamic effect
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.
Information query
Patent Agency Ranking
0/0