Browse Source

Fix degrees error

j433866 6 years ago
parent
commit
eb8725a0db
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/core/operations/RotateImage.mjs

+ 1 - 1
src/core/operations/RotateImage.mjs

@@ -51,7 +51,7 @@ class RotateImage extends Operation {
                 jimp.read(Buffer.from(input))
                     .then(image => {
                         image
-                            .rotate(degrees / 100)
+                            .rotate(degrees)
                             .getBuffer(jimp.AUTO, (error, result) => {
                                 if (error){
                                     reject(new OperationError("Error getting the new image buffer"));