No description provided.

look into possibility of ditching graphicsmagic#29

Open
Opened 6/13/20190 commentsby omkelderman
omkelderman

https://www.npmjs.com/package/sharp should be able to do everything I need in terms of overlaying other images and blurring and whatnot. For overlaying text I can use https://www.npmjs.com/package/text-to-svg to generate a svg vector image from a string and overlay that with sharp. things to look into: --- * within one sharp pipeline if applying both blur and overlaying text, the blur is only applied to the base image, might possibly need to generate intermediate results in memory to account for this * how does overlaying multiple things work, is there a defined order? * how to get the text "glow" effect I'm using, right now achieved to first render the text once, then blur the whole thing (bg & text) and then render the text on top of that again reasons to do this --- * no more runtime dependency * no more calling to an external process and having the overhead of starting up another process * potentially slower? (haven't really measured this so no idea) reasons to not do this --- * if this makes the end result look significantly different * if it somehow takes longer to generate an image then before (but I doubt that will be the case)

AI Analysis

This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by omkelderman and has received 0 comments.

Add a comment
Comment form would go here