Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@deboer-tim
Copy link
Collaborator

We had 3 places reading/converting SVGs, with multiple copies of the image transcoder and parsing w/h info. This moves it all to a shared SVGUtil class with only 2 public functions: loading SVGs (2 versions) and converting to BufferedImages.

Since all the work is now done in the model jar the batik jar and its dependencies no longer need to be exported.

Some minor formatting and variable overriding cleanup was automatically applied to the image generator.

We had 3 places reading/converting SVGs, with multiple copies of the image
transcoder and parsing w/h info. This moves it all to a shared SVGUtil class
with only 2 public functions: loading SVGs (2 versions) and converting to
BufferedImages.

Since all the work is now done in the model jar the batik jar and its
dependencies no longer need to be exported.

Some minor formatting and variable overriding cleanup was automatically
applied to the image generator.
@deboer-tim deboer-tim merged commit 055fa99 into icpctools:main Jul 2, 2025
4 checks passed
@deboer-tim deboer-tim deleted the svg-util branch July 2, 2025 15:46
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.

3 participants