-
-
Notifications
You must be signed in to change notification settings - Fork 277
feat: replace sharp #715
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
base: master
Are you sure you want to change the base?
feat: replace sharp #715
Conversation
@dougg0k Can you put this in Draft? |
I found a canvas alternative, but not sure this would work. I will leave the testing and finalization to you. @zoontek https://github.com/Brooooooklyn/canvas
|
…plash into replace-sharp
Ideally there should be a way to test / have tests written to check the svg generated are properly implemented, but there isnt. What is the recommended way to run and test it through the dist generated folder? |
@dougg0k I currently don't have the personal time to take a look at this, will do as soon as I can. EDIT: Just had a quick check on sharp repository, it appears that |
@zoontek Ok, I meant mostly to have something to test / check if the svg being generated would be correct, any way to test that? That would easily help make sure with any implementation, that it works. |
@dougg0k Quickly tested it, I had to replace all To test it, do a |
I found the reasons for bad metadata and not generating images in android, they are now fixed. But the only issue still remains, which is that one you showed through the image. For whatever reason with svg, their resize or fastResize, results in the same. |
Want to test, now? Seems to be working. https://github.com/Brooooooklyn/Image All built using napi-rs. |
Hey,
I tried to quickly replace sharp with the library I suggested in #713 (comment)
But they seem to be lacking compositing support.
I opened a PR with the progress, but feel free to close it, if you prefer do yourself or for whatever reason.
I requested that they add compositing support, but not sure if they will or when. Brooooooklyn/Image#138