
Security News
Socket Integrates With Bun 1.3’s Security Scanner API
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
@idot-digital/image-convert-lib
Advanced tools
Mit dieser Library kann man Bilder komprimieren, skallieren und in neue Formate umwandeln.
Supportete Input Formate:
Supportete Output Formate:
Benutzung Zur Benutzung wird ein APIKey benötigt, bitte wenden Sie sich hierzu an die Geschäftsführung von iDot digital.
const IMAGE = await fs.readFile("./image.png");
const ic = new ImageConverter("putAPIKeyHere");
const CONPRESSED_IMAGE = await ic.imgToWEBP(JPEG, 1000);
await fs.writeFile("./image.webp", CONPRESSED_IMAGE);
Es stehen follgende Funktionen zur Verfügung:
imgToWEBP(buffer, width)
imgToJPG(buffer, width)
pngToJPG(buffer, width)
imgToJP2(buffer, width, convertioApiKey)
pngToJPG(buffer, width) ist dabei bei PNG Bildern vorzuziehen, da es kleinere Dateien generiert.
Bei imgToJP2() wird der Service Convertio genutzt wird, daher muss ein zusätzlicher ApiKey angegeben werden.
FAQs
Libary for image converion with iDot apis!
We found that @idot-digital/image-convert-lib demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.
Security News
A data handling bug in OSV.dev caused disputed CVEs to disappear from vulnerability feeds until a recent fix restored over 500 advisories.