mirror of
https://github.com/lovell/sharp.git
synced 2025-12-19 15:25:07 +01:00
Use libvips built-in ICC profiles when required #1619
This commit is contained in:
@@ -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,
|
||||
|
||||
BIN
lib/icc/cmyk.icm
BIN
lib/icc/cmyk.icm
Binary file not shown.
BIN
lib/icc/sRGB.icc
BIN
lib/icc/sRGB.icc
Binary file not shown.
Reference in New Issue
Block a user