jimp-dev/jimp
在 GitHub 查看Documentation! Why none of the examples in plugins-* mention about writing the processed image back to the file-system?
Open
#897 建立於 2020年5月28日
documentationhelp wantedsolution in issue
描述
I stumbled upon this library when I was looking for an image manipulation lib on the server side. When I copy pasted the examples mentioned in plugins-resize, plugins-blur, it just executes! And the original image remains as it is! I was puzzled for a while and I even passed a callback with a console statement which worked fine but the input image just didn't change!
All the code examples in default plugins only shows how to read and how to apply it.
It would save a lot of beginners time if those examples had one more line that saves the output to filesystem: image.write('output.jpg');