-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Feature Request: support WinterCG environment #227
Comments
winterjs is relatively new and unstable for now, so I chose to test pintora in Vercel's edge-runtime. A Currently:
|
Developers can simply use @resvg/resvg-wasm to convert to PNG as needed, Pintora does not need to support other formats. |
@atian25 I'm not sure how are you going to use it but we can have a try and improve it later, see the docs in https://pintorajs.vercel.app/docs/advanced/api-usage/#pitora-in-wintercg-runtime |
cool~ I'll try it later today. |
I see the output image of your demo is kind of blury, but it's a good start. Now at least it can run in edge-runtime and goofy worker. I've also gave a try on wasmerio/winterjs, it works without error in Pintora's side, but has some trouble with fetch event handler wasmerio/winterjs#37, let's give it some time. |
This is for generating an svg using only pintora. |
Text metric will absolute be a problem when you use CJK characters. |
Seperating from issue #225 .
It'd be cool if pintora can run in WinterCG environment.
Maybe I can start with trying to run pintora in https://github.com/wasmerio/winterjs
The text was updated successfully, but these errors were encountered: