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

Supports export to jpg and webp #69

Closed
bric3 opened this issue Jul 13, 2022 · 1 comment
Closed

Supports export to jpg and webp #69

bric3 opened this issue Jul 13, 2022 · 1 comment
Labels
enhancement New feature or request
Milestone

Comments

@bric3
Copy link
Owner

bric3 commented Jul 13, 2022

Requires #14

@bric3 bric3 added the enhancement New feature or request label Jul 13, 2022
@bric3 bric3 mentioned this issue Jan 9, 2024
9 tasks
@bric3 bric3 added this to the 0.4.0 milestone Jan 9, 2024
@bric3
Copy link
Owner Author

bric3 commented Jan 9, 2024

Note this only supports exports, as at this time the scene embedding is not supported on something else than SVG or PNG.

https://github.com/excalidraw/excalidraw/blob/65047cc2cb59843a4305f9088d886edd9b933585/packages/utils/export.ts#L136-L153

Also this indicates the support of export file is driven by the browser support of mimetypes in the function canvas.toBlob. E.g Chrome seems to support image/avif for a while.

@bric3 bric3 closed this as completed in e500a46 Jan 10, 2024
bric3 added a commit that referenced this issue Jan 10, 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
Projects
None yet
Development

No branches or pull requests

1 participant