Skip to content

Add Take SVG screenshot menu item.#544

Open
heuermh wants to merge 1 commit intotoolbox4minecraft:masterfrom
heuermh:svg-screenshot
Open

Add Take SVG screenshot menu item.#544
heuermh wants to merge 1 commit intotoolbox4minecraft:masterfrom
heuermh:svg-screenshot

Conversation

@heuermh
Copy link
Copy Markdown
Contributor

@heuermh heuermh commented Oct 9, 2019

See #327

The SVG documents rendered by Batik via Graphics2D are not ideal, but should be an improvement over static PNG screenshots. The widgets and world icons are in separate groups and are selectable. The map image is broken up into tiles as rendered by Amidst.

This pull request could be improved -- I've pretty much just copy and pasted the PNG take screenshot code path and made changes for SVG. Some additional thought may be required. Note also the dependency on batik-all rather than individual modules, with some effort a minimal set of batik dependency jars could be determined.

@heuermh
Copy link
Copy Markdown
Contributor Author

heuermh commented Oct 9, 2019

@heuermh
Copy link
Copy Markdown
Contributor Author

heuermh commented Oct 9, 2019

@heuermh
Copy link
Copy Markdown
Contributor Author

heuermh commented Dec 29, 2019

Rebased, ready for review

@heuermh heuermh marked this pull request as ready for review December 29, 2019 03:56
@heuermh
Copy link
Copy Markdown
Contributor Author

heuermh commented Jun 29, 2020

Any feedback on this pull request?

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.

1 participant