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

support for some base64 images #13 #14

Merged
merged 1 commit into from
Sep 13, 2021

Conversation

konsumer
Copy link
Contributor

this adds basic support for base64 URLs. Looks like the data case was just forgotten in loadImage(), as the support functions were already in place.

I noticed while working on it that base64 SVGs don't work, or even regular SVG urls, but that is another issue.

This was referenced Sep 12, 2021
Copy link
Owner

@DjDeveloperr DjDeveloperr left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks

@DjDeveloperr DjDeveloperr merged commit 19e87f4 into DjDeveloperr:master Sep 13, 2021
@konsumer
Copy link
Contributor Author

It says "merged" but something is funny. If I import directly from github:

const { createCanvas } = await import('https://raw.githubusercontent.com/DjDeveloperr/deno-canvas/master/mod.ts')

I get this which is missing the chnages.

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 this pull request may close these issues.

2 participants