Use libvips built-in ICC profiles when required #1619

This commit is contained in:
Lovell Fuller
2019-07-29 14:16:21 +01:00
parent 2ed4b5ae83
commit 417cca6e0d
7 changed files with 17 additions and 24 deletions

View File

@@ -1,6 +1,5 @@
'use strict';
const path = require('path');
const util = require('util');
const stream = require('stream');
const events = require('events');
@@ -111,8 +110,6 @@ const Sharp = function (input, options) {
// input options
sequentialRead: false,
limitInputPixels: Math.pow(0x3FFF, 2),
// ICC profiles
iccProfilePath: path.join(__dirname, 'icc') + path.sep,
// resize options
topOffsetPre: -1,
leftOffsetPre: -1,

Binary file not shown.

Binary file not shown.