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

@jimp/png

Package Overview
Dependencies
Maintainers
2
Versions
220
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jimp/png

Default Jimp png encoder/decoder.

  • 0.20.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.2M
decreased by-0.03%
Maintainers
2
Weekly downloads
 
Created
Source

@jimp/png

Default Jimp png encoder/decoder.

Available Methods

Jimp.deflateLevel

Sets the deflate level used when saving as PNG format (default is 9)

Jimp.deflateStrategy

Sets the deflate strategy used when saving as PNG format (default is 3)

Jimp.filterType

Sets the filter type used when saving as PNG format (default is automatic filters)

Jimp.colorType

Sets the color type used when saving as PNG format (one of 0, 2, 4, 6)

Filter Types

Jimp.PNG_FILTER_AUTO;
Jimp.PNG_FILTER_NONE;
Jimp.PNG_FILTER_SUB;
Jimp.PNG_FILTER_UP;
Jimp.PNG_FILTER_AVERAGE;
Jimp.PNG_FILTER_PATH;

FAQs

Package last updated on 05 Feb 2023

Did you know?

Socket

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.

Install

Related posts

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