Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ability to generate an image #99

Closed
bric3 opened this issue Aug 3, 2022 · 0 comments · Fixed by #100
Closed

Ability to generate an image #99

bric3 opened this issue Aug 3, 2022 · 0 comments · Fixed by #100

Comments

@bric3
Copy link
Owner

bric3 commented Aug 3, 2022

Ideally the feature should work regardless a swing component has been setup.

Image generation should not be tied to any encoding (png, jpeg, ...).
Since the feature should not be tied to swing component the facility method should support customizations e.g. frame coloring, different fonts.

Also while the goal is to provide a BufferedImage it would be nice to have a lower level method that allow to pass a Graphics2D handle, allowing the client to provide its own handle, this could be used to generate an SVG.

bric3 added a commit that referenced this issue Aug 3, 2022
Also:
* Added alpha channel detection

Refs: #99
bric3 added a commit that referenced this issue Aug 3, 2022
This overload allow to use different Graphics2D implementations or
configurations, e.g the ones from Apache Batik (ASL2), JFreeSVG (GPL3)
that are able to generate an SVG file.

Refs: #99
@bric3 bric3 closed this as completed in 8c4ac7f Aug 3, 2022
@bric3 bric3 closed this as completed in #100 Aug 3, 2022
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 a pull request may close this issue.

1 participant