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

Add a provideImage method to provide dynamic rendered images #170

Open
jonasstrehle opened this issue Aug 19, 2024 · 0 comments
Open

Add a provideImage method to provide dynamic rendered images #170

jonasstrehle opened this issue Aug 19, 2024 · 0 comments
Labels
enhancement New feature or request essential

Comments

@jonasstrehle
Copy link
Member

jonasstrehle commented Aug 19, 2024

We should offer a method to provide (svg / png & common mime types) by passing JSX in the entrypoint definitions.
see POC here https://github.com/unyt-org/metadata-poc/blob/main/common/html-to-image.tsx

provideImage(jsx, { width, height, contentType});
@jonasstrehle jonasstrehle added enhancement New feature or request essential labels Aug 19, 2024
@jonasstrehle jonasstrehle changed the title Add a provideImage method to provide dynamic rendered images (svg / png & common mime types) Add a provideImage method to provide dynamic rendered images Aug 19, 2024
@jonasstrehle jonasstrehle changed the title Add a provideImage method to provide dynamic rendered images Add a provideImage method to provide dynamic rendered images Aug 19, 2024
@jonasstrehle jonasstrehle changed the title Add a provideImage method to provide dynamic rendered images Add a provideImage method to provide dynamic rendered images Aug 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request essential
Projects
None yet
Development

No branches or pull requests

1 participant