Skip to content

Suboptimal Path Data Serialization #1

@darBis

Description

@darBis

Current SVG Parh Data serialization results in output file inflation when it contains lots of path elements. For example small map sheet increased in size from 170 KiB to 190KiB just by loading and writing the SVG throuhg.
Such increase in size is undesired especialy when serving such images over network.

Improve path data serialization in a way similar to inkscape output:

  • limit command repetition
  • use relative coordinates where applicable
  • use special commands for movement in one dimension, if other coordinate does not change

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions