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 function for Base64 encoding to the expressions #3875

Open
samuel-pina opened this issue Feb 16, 2024 · 0 comments
Open

Add a function for Base64 encoding to the expressions #3875

samuel-pina opened this issue Feb 16, 2024 · 0 comments
Labels
feature-request For requesting new features or transforms

Comments

@samuel-pina
Copy link

samuel-pina commented Feb 16, 2024

In Vega-Lite, we don't have the image property of the image mark as we do in vega, we only have the url one. In some uses like in Deneb in Power BI, there are certain limitations for using the url property as it could be connecting with external content. If we are using base64 encoded images declared inline for the url property, we can overcome this limitation but then we cannot alter the image (for instance, a svg) dynamically as we don't have a way in vega-lite to encode them later to base64. I explain a little bit better the scenario in this post.
At the end, it is possible to change the image dynamically in vega, but it would be great if we could modify the svg in vega-lite and then encode it in base64 for using it in the url property. Would it be possible to add such function to the expression language?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request For requesting new features or transforms
Projects
None yet
Development

No branches or pull requests

1 participant