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

Export base64 images #61

Open
spanakorizo opened this issue Sep 26, 2022 · 1 comment
Open

Export base64 images #61

spanakorizo opened this issue Sep 26, 2022 · 1 comment

Comments

@spanakorizo
Copy link

Mac animate 21.0.2 i do not see any option to export the images embedded base64. I had to install the plugin manually.
It works apart of an error if you apply mask.

@spanakorizo
Copy link
Author

looking at the code in SVG.jsfl (inside extensible folder) i believe the part that is responsible to export the images to .png and write the svg paths is this :

_getBitmapItem:function(item){
			return this._getAssetUri(item, this.toDataUrl, "img", "png");
		},

how to modify this to encode base64 instead of giving the uri of /img folder inside the exported svg??

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

No branches or pull requests

1 participant