This commit is contained in:
Baris Usakli
2019-05-09 12:00:46 -04:00
parent 31f347daad
commit c9ca72d0f3

View File

@@ -92,6 +92,9 @@ image.size = function (path, callback) {
};
image.stripEXIF = function (path, callback) {
if (path.endsWith('.gif')) {
return setImmediate(callback);
}
async.waterfall([
function (next) {
fs.readFile(path, next);