j433866 6 лет назад
Родитель
Сommit
eb8725a0db
1 измененных файлов с 1 добавлено и 1 удалено
  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))
                 jimp.read(Buffer.from(input))
                     .then(image => {
                     .then(image => {
                         image
                         image
-                            .rotate(degrees / 100)
+                            .rotate(degrees)
                             .getBuffer(jimp.AUTO, (error, result) => {
                             .getBuffer(jimp.AUTO, (error, result) => {
                                 if (error){
                                 if (error){
                                     reject(new OperationError("Error getting the new image buffer"));
                                     reject(new OperationError("Error getting the new image buffer"));