Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

jimp

Package Overview
Dependencies
Maintainers
1
Versions
281
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

jimp - npm Package Compare versions

Comparing version 0.2.20 to 0.2.21

2

package.json
{
"name": "jimp",
"version": "0.2.20",
"version": "0.2.21",
"description": "An image processing library written entirely in JavaScript (i.e. zero external or native dependencies).",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -82,3 +82,4 @@ # Jimp #

image.rotate( deg[, resize] ); // rotate the image clockwise by a number of degrees. Unless `false` is passed as the second parameter, the image width and height will be resized appropriately.
image.blit( src, x, y ); // blit the image with another Jimp image at x, y
image.blit( src, x, y[, srcx, srcy, srcw, srch] );
// blit the image with another Jimp image at x, y, optionally cropped.
image.composite( src, x, y ); // composites another Jimp image over this iamge at x, y

@@ -124,3 +125,3 @@ image.brightness( val ); // adjust the brighness by a value -1 to +1

Jimp.MIME_JPEG; // "image/jpeg"
Jimp.BMP; // "image/bmp"
Jimp.MIME_BMP; // "image/bmp"
```

@@ -127,0 +128,0 @@

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc