mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
fix: #7582
This commit is contained in:
@@ -92,6 +92,9 @@ image.size = function (path, callback) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
image.stripEXIF = function (path, callback) {
|
image.stripEXIF = function (path, callback) {
|
||||||
|
if (path.endsWith('.gif')) {
|
||||||
|
return setImmediate(callback);
|
||||||
|
}
|
||||||
async.waterfall([
|
async.waterfall([
|
||||||
function (next) {
|
function (next) {
|
||||||
fs.readFile(path, next);
|
fs.readFile(path, next);
|
||||||
|
|||||||
Reference in New Issue
Block a user