New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

picha

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

picha - npm Package Compare versions

Comparing version 0.4.3 to 0.4.4

2

package.json
{
"name": "picha",
"version": "0.4.3",
"version": "0.4.4",
"description": "image format codec and simple image processing",

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

@@ -75,2 +75,16 @@

testFile("test2cmyk.jpg", 76, 50, 'rgb');
describe("encodes images with alpha", function() {
var img;
it("should load test.png", function() {
img = picha.decodeSync(fs.readFileSync(path.join(__dirname, "test.png")));
assert(img.pixel === "rgba");
})
it("should jpeg encode rgba", function() {
var jpeg = picha.encodeJpegSync(img, { quality: 100 });
})
it("should jpeg encode greya", function() {
var jpeg = picha.encodeJpegSync(picha.colorConvertSync(img, { pixel: 'greya' }), { quality: 100 });
})
})
})

Sorry, the diff of this file is not supported yet

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