diff --git a/resemble.js b/resemble.js index 84bce19..c7a03c5 100644 --- a/resemble.js +++ b/resemble.js @@ -597,7 +597,9 @@ URL: https://github.com/Huddle/Resemble.js pixelTransparency = options.transparency || pixelTransparency; - largeImageThreshold = options.largeImageThreshold || largeImageThreshold; + if (options.largeImageThreshold !== undefined) { + largeImageThreshold = options.largeImageThreshold; + } return this; };