jimp-dev / jimp-dev/jimp

Documentation! Why none of the examples in plugins-* mention about writing the processed image back to the file-system?

Open
#897 0 comments 1 reaction 0 assignees View on GitHub
documentation help wanted solution in issue
Dominant language
TypeScript
Stars
14.7k
Forks
777
PR merge metrics
No merged PRs in 30d

Description

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');`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.