Research
Security News
Threat Actor Exposes Playbook for Exploiting npm to Build Blockchain-Powered Botnets
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
@jimp/plugin-scale
Advanced tools
Scale an image.
Uniformly scales the image by a factor.
import jimp from "jimp";
async function main() {
const image = await jimp.read("test/image.png");
image.scale(2);
image.scale(2, jimp.RESIZE_BEZIER);
}
main();
Scale the image to the largest size that fits inside the rectangle that has the given width and height.
import jimp from "jimp";
async function main() {
const image = await jimp.read("test/image.png");
image.scaleToFit(100, 100);
}
main();
v0.22.8 (Thu May 11 2023)
:tada: This release contains work from new contributors! :tada:
Thanks for all your work!
:heart: Sjoerd (@sjoerd108)
:heart: null@php4fan
:heart: null@JunkMeal
@jimp/core
, jimp
@jimp/plugin-color
@jimp/plugin-rotate
@jimp/plugin-crop
, @jimp/test-utils
FAQs
scale an image.
The npm package @jimp/plugin-scale receives a total of 900,653 weekly downloads. As such, @jimp/plugin-scale popularity was classified as popular.
We found that @jimp/plugin-scale demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
Security News
A threat actor's playbook for exploiting the npm ecosystem was exposed on the dark web, detailing how to build a blockchain-powered botnet.
Security News
NVD’s backlog surpasses 20,000 CVEs as analysis slows and NIST announces new system updates to address ongoing delays.
Security News
Research
A malicious npm package disguised as a WhatsApp client is exploiting authentication flows with a remote kill switch to exfiltrate data and destroy files.