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

imagemagick-native

Package Overview
Dependencies
Maintainers
1
Versions
26
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

imagemagick-native - npm Package Compare versions

Comparing version 0.2.8 to 0.2.9

2

package.json

@@ -10,3 +10,3 @@ {

],
"version": "0.2.8",
"version": "0.2.9",
"repository": {

@@ -13,0 +13,0 @@ "type": "git",

@@ -194,2 +194,28 @@ var test = require('tap').test

test( 'convert to rotate 90 degrees', function (t) {
var buffer = imagemagick.convert({
srcData: require('fs').readFileSync( "./test/test.jpg" ),
rotate: 90,
debug: debug
});
var info = imagemagick.identify({srcData: buffer });
t.equal( info.width, 66 );
t.equal( info.height, 58 );
saveToFileIfDebug( buffer, "./test/out.jpg-rotate90.jpg" );
t.end();
});
test( 'convert to rotate -90 degrees', function (t) {
var buffer = imagemagick.convert({
srcData: require('fs').readFileSync( "./test/test.jpg" ),
rotate: -90,
debug: debug
});
var info = imagemagick.identify({srcData: buffer });
t.equal( info.width, 66 );
t.equal( info.height, 58 );
saveToFileIfDebug( buffer, "./test/out.jpg-rotate-90.jpg" );
t.end();
});
test( 'identify invalid number of arguments', function (t) {

@@ -196,0 +222,0 @@ var error = 0;

Sorry, the diff of this file is not supported yet

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