Closed mvasin closed 8 years ago
I put a repository to try this bug: https://github.com/mvasin/skip-on-enlarge
Hi @mvasin
Sorry for the delay.
skipOnEnlargement
option just removes small images from the stream. If I understand correctly, it is what happens.
A suitable combination for your task is:
withoutEnlargement: true,
skipOnEnlargement: false, // default
Please reopen if necessary.
When I set one of these parameters:
withoutEnlargement
/skipOnEnlargement
totrue
(or both of them), my gulp task processes a portion of images and stops (with no special errors). It does skip files that are smaller then resize options and prints notifications about it to console, but it doesn't process ALL the images.If I set both options to
false
, all images are processed with no problems. But, of course, some happen to be enlarged for no reason, I don't like that.I do have a
plumber
.Here's my code: