Skip to content

Expose tolerance param CU-86c3mbjx8#56

Merged
big-nacho merged 1 commit into
mainfrom
CU-86c3mbjx8-Expose-Tolerance-Param
May 26, 2025
Merged

Expose tolerance param CU-86c3mbjx8#56
big-nacho merged 1 commit into
mainfrom
CU-86c3mbjx8-Expose-Tolerance-Param

Conversation

@big-nacho

@big-nacho big-nacho commented May 26, 2025

Copy link
Copy Markdown
Collaborator

Description:

This PR exposes a tolerance parameter for vectorizing requests. Lower tolerances means higher resolution SVG's are created. The default is set to 0.2 which is what we had before. To test, you can make normal requests, just add the "tolerance" parameter to the body with something other than 0.2.

Checklist (based on PR guidelines):

  • I have self-reviewed this PR, according to these points
  • This PR falls into maximum three of these categories
  • I feel comfortable taking responsibility for merging this code to production
  • The code is high quality, well-tested, follows styles guides (Frontend), clean, and well documented

@claas-c claas-c left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Lgtm

@big-nacho big-nacho merged commit 1e6240b into main May 26, 2025
0 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants