jimp-dev/jimp
Auf GitHub ansehenDocumentation! Why none of the examples in plugins-* mention about writing the processed image back to the file-system?
Open
#897 geöffnet am 28. Mai 2020
documentationhelp wantedsolution in issue
Beschreibung
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');