US 12,293,552 B2
Systems and methods for compressing vector graphics
Henrry Eduardo Iguaro Jaramillo, Sydney (AU); Stephan Schwiebert, Sydney (AU); and Velislava Yanchina, Byron Bay (AU)
Assigned to Canva Pty Ltd, Surry Hills (AU)
Filed by Canva Pty Ltd, Surry Hills (AU)
Filed on Nov. 20, 2024, as Appl. No. 18/954,464.
Application 18/954,464 is a continuation of application No. 18/211,239, filed on Jun. 17, 2023.
Claims priority of application No. 2022204492 (AU), filed on Jun. 24, 2022.
Prior Publication US 2025/0078322 A1, Mar. 6, 2025
Int. Cl. G06K 9/36 (2006.01); G06T 9/20 (2006.01)
CPC G06T 9/20 (2013.01) 20 Claims
OG exemplary drawing
 
1. A computer implemented method for compressing a shape, the method including:
receiving input shape data defining one or more shape commands in respect of the shape;
initialising a compressed shape variable for storing data that defines a compressed version of the shape;
processing a first shape command of the one or more shape commands by:
determining a type of the first shape command;
in response to determining the type of the first shape command is a line type shape command:
determining if the first shape command defines a negligible line, based on a proximity of an end point of a first line defined by the first shape command to a start point of the first line being less than a proximity threshold; and
in response to determining that the first shape command does define a negligible line, not adding data from the first shape command to the compressed shape variable; or
in response to determining that the first shape command does not define a negligible line, recording the first shape command by adding data from the first shape command to the compressed shape variable.