You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched and referenced existing issues, feature requests and discussions
I am filing a FEATURE request.
Description
I would like to inject extra image processing if need into my Images when i render an image on the Server using fabricjs/node. This would be to convert unsupported image types to a supported format. I know this is a limitation of node-canvas, but since fabric is an abstraction over that it seem like this would be the best place to inject code.
Currently i rewrite all the URLs in the Canvas to point to a service that will convert not supported images to png, this error prone. I really don't want to be inspecting the canvas json as much as i am.
Hello @bvkimball in the currect release 6.6.0 if you look at the image supported types you find a link to an issue on node-canvas that explains you how to do that.
CheckList
Description
I would like to inject extra image processing if need into my Images when i render an image on the Server using fabricjs/node. This would be to convert unsupported image types to a supported format. I know this is a limitation of node-canvas, but since fabric is an abstraction over that it seem like this would be the best place to inject code.
This library https://www.npmjs.com/package/webp-wasm. show how you can decode webp data for node-canvas.
I dont think this library should be included but if a hook into the proper place could be set so that we can extend the functionality if we need to.
Existing closed issue - #7677
Current State
Currently i rewrite all the URLs in the Canvas to point to a service that will convert not supported images to png, this error prone. I really don't want to be inspecting the canvas json as much as i am.
Additional Context
Existing closed issue - #7677
This library https://www.npmjs.com/package/webp-wasm. show how you can decode webp data for node-canvas.
The text was updated successfully, but these errors were encountered: