Socket
Socket
Sign inDemoInstall

gulp-image-resize

Package Overview
Dependencies
111
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.6.0 to 0.7.0

3

index.js

@@ -13,3 +13,2 @@ /*

var os = require("os");
var through = require("through2");
var _ = require("lodash");

@@ -103,3 +102,3 @@ var stream = require("stream");

if (options.sharpen) {
gmfile = gmfile.unsharp('1.5x1+0.7+0.02');
gmfile = gmfile.unsharp(typeof options.sharpen=='string' ? options.sharpen : '1.5x1+0.7+0.02');
}

@@ -106,0 +105,0 @@

{
"name": "gulp-image-resize",
"description": "Resizing images made easy.",
"version": "0.6.0",
"version": "0.7.0",
"homepage": "https://github.com/scalableminds/gulp-image-resize",

@@ -6,0 +6,0 @@ "author": {

@@ -66,3 +66,3 @@ # [gulp](https://github.com/wearefractal/gulp)-image-resize [![Build Status](https://drone.io/github.com/scalableminds/gulp-image-resize/status.png)](https://drone.io/github.com/scalableminds/gulp-image-resize/latest)

A number pixel value that is the target width.
A number value that is passed as pixel or percentage value to imagemagick.

@@ -75,3 +75,3 @@

A number pixel value that is the target height.
A number value that is passed as pixel or percentage value to imagemagick.

@@ -129,6 +129,7 @@

Type: `Boolean`
Type: `Boolean | String`
Default value: `false`
Set to `true` to apply a slight unsharp mask after resizing.
Or set a string to setup the unsharp. See [gm unsharp documentation](http://www.graphicsmagick.org/GraphicsMagick.html#details-unsharp). (e.g. '0.5x0.5+0.5+0.008')

@@ -135,0 +136,0 @@ #### options.samplingFactor

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc