mirror of
https://github.com/gchq/CyberChef.git
synced 2025-04-21 15:26:16 -04:00
Fix degrees error
This commit is contained in:
parent
57e1061063
commit
eb8725a0db
1 changed files with 1 additions and 1 deletions
|
@ -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"));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue