|
преди 1 месец | |
---|---|---|
.. | ||
es | преди 1 месец | |
src | преди 1 месец | |
CHANGELOG.md | преди 1 месец | |
LICENSE | преди 1 месец | |
README.md | преди 1 месец | |
index.d.ts | преди 1 месец | |
package.json | преди 1 месец |
Displaces the image based on the provided displacement map
@param {function(Error, Jimp)} cb (optional) a callback for when complete
import jimp from 'jimp';
async function main() {
const image = await jimp.read('test/image.png');
// Make me better!
image.displace(map, 10);
}
main();