|
hace 2 meses | |
---|---|---|
.. | ||
es | hace 2 meses | |
src | hace 2 meses | |
CHANGELOG.md | hace 2 meses | |
LICENSE | hace 2 meses | |
README.md | hace 2 meses | |
index.d.ts | hace 2 meses | |
package.json | hace 2 meses |
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();