@jimp/plugin-rotate
Advanced tools
Comparing version 0.16.2 to 0.16.3-canary.1100.1371.0
@@ -68,3 +68,3 @@ "use strict"; | ||
var cartesian = translate2Cartesian(x, y); | ||
var source = translate2Screen(cosine * cartesian.x - sine * cartesian.y, cosine * cartesian.y + sine * cartesian.x); | ||
var source = translate2Screen(cosine * cartesian.x + sine * cartesian.y, cosine * cartesian.y - sine * cartesian.x); | ||
var dstIdx = bW * (y - 1) + x - 1 << 2; | ||
@@ -71,0 +71,0 @@ |
@@ -68,3 +68,3 @@ "use strict"; | ||
var cartesian = translate2Cartesian(x, y); | ||
var source = translate2Screen(cosine * cartesian.x - sine * cartesian.y, cosine * cartesian.y + sine * cartesian.x); | ||
var source = translate2Screen(cosine * cartesian.x + sine * cartesian.y, cosine * cartesian.y - sine * cartesian.x); | ||
var dstIdx = bW * (y - 1) + x - 1 << 2; | ||
@@ -71,0 +71,0 @@ |
{ | ||
"name": "@jimp/plugin-rotate", | ||
"version": "0.16.2", | ||
"version": "0.16.3-canary.1100.1371.0", | ||
"description": "Rotate an image.", | ||
@@ -24,3 +24,3 @@ "main": "dist/index.js", | ||
"@babel/runtime": "^7.7.2", | ||
"@jimp/utils": "^0.16.2" | ||
"@jimp/utils": "0.16.3-canary.1100.1371.0" | ||
}, | ||
@@ -34,7 +34,7 @@ "peerDependencies": { | ||
"devDependencies": { | ||
"@jimp/custom": "^0.16.2", | ||
"@jimp/plugin-blit": "^0.16.2", | ||
"@jimp/plugin-crop": "^0.16.2", | ||
"@jimp/plugin-resize": "^0.16.2", | ||
"@jimp/test-utils": "^0.16.2" | ||
"@jimp/custom": "0.16.3-canary.1100.1371.0", | ||
"@jimp/plugin-blit": "0.16.3-canary.1100.1371.0", | ||
"@jimp/plugin-crop": "0.16.3-canary.1100.1371.0", | ||
"@jimp/plugin-resize": "0.16.3-canary.1100.1371.0", | ||
"@jimp/test-utils": "0.16.3-canary.1100.1371.0" | ||
}, | ||
@@ -44,3 +44,3 @@ "publishConfig": { | ||
}, | ||
"gitHead": "e4d6af032fdabdb4b8a4368ec957dec8ea426ef4" | ||
"gitHead": "1fd1753f562e5c0937e2b8ae2cc659f263c2ed53" | ||
} |
@@ -85,4 +85,4 @@ import { throwError, isNodePattern } from '@jimp/utils'; | ||
const source = translate2Screen( | ||
cosine * cartesian.x - sine * cartesian.y, | ||
cosine * cartesian.y + sine * cartesian.x | ||
cosine * cartesian.x + sine * cartesian.y, | ||
cosine * cartesian.y - sine * cartesian.x | ||
); | ||
@@ -89,0 +89,0 @@ const dstIdx = (bW * (y - 1) + x - 1) << 2; |
@@ -56,2 +56,23 @@ import { Jimp, mkJGD } from '@jimp/test-utils'; | ||
it('-1 degrees ( Anti-Clockwise )', () => { | ||
imgSrc | ||
.clone() | ||
.rotate(-1, true) | ||
.getJGDSync() | ||
.should.be.sameJGD( | ||
mkJGD( | ||
'▰▴▴▴▪▪▪▰ ', | ||
'▴▴▴▴▪▪▪▪ ', | ||
'▴▴▴▴▪▪▪▪ ', | ||
'▴▴▴▴▪▪▪▪ ', | ||
'▪▪▪▪▴▴▴▴ ', | ||
'▪▪▪▪▴▴▴▴ ', | ||
'▪▪▪▪▴▴▴▴ ', | ||
'▦▪▪▪▴▴▴▦ ', | ||
' ', | ||
' ' | ||
) | ||
); | ||
}); | ||
it('91 degrees', () => { | ||
@@ -64,3 +85,24 @@ imgSrc | ||
mkJGD( | ||
' ▦▪▪▪▴▴▴▰ ', | ||
' ▪▪▪▪▴▴▴▴ ', | ||
' ▪▪▪▪▴▴▴▴ ', | ||
' ▪▪▪▪▴▴▴▴ ', | ||
' ▴▴▴▴▪▪▪▪ ', | ||
' ▴▴▴▴▪▪▪▪ ', | ||
' ▴▴▴▴▪▪▪▪ ', | ||
' ▦▴▴▴▪▪▪▰ ', | ||
' ', | ||
' ' | ||
) | ||
); | ||
}); | ||
it('-91 degrees ( Anti-Clockwise )', () => { | ||
imgSrc | ||
.clone() | ||
.rotate(-91, true) | ||
.getJGDSync() | ||
.should.be.sameJGD( | ||
mkJGD( | ||
' ', | ||
'▰▪▪▪▴▴▴▦ ', | ||
@@ -86,2 +128,25 @@ '▪▪▪▪▴▴▴▴ ', | ||
mkJGD( | ||
' ▴▴▴ ', | ||
' ▴▴▴▴▪ ', | ||
' ▴▴▴▴▴▪▪ ', | ||
' ▪▪▴▴▴▪▪▪▪▰ ', | ||
' ▪▪▪▪▪▪▪▪▪ ', | ||
'▦▪▪▪▪▴▴▪▪▪ ', | ||
'▦▪▪▪▴▴▴▴▪ ', | ||
' ▪▪▴▴▴▴ ', | ||
' ▴▴▴▴ ', | ||
' ▴▦ ', | ||
' ', | ||
' ' | ||
) | ||
); | ||
}); | ||
it('-30 degrees ( Anti-Clockwise )', () => { | ||
imgSrc | ||
.clone() | ||
.rotate(-30, true) | ||
.getJGDSync() | ||
.should.be.sameJGD( | ||
mkJGD( | ||
' ▰▰ ', | ||
@@ -110,3 +175,28 @@ ' ▪▪▪▪ ', | ||
mkJGD( | ||
' ▰ ', | ||
' ▴▰▴ ', | ||
' ▴▴▴▴▴ ', | ||
' ▪▴▴▴▴▴▪ ', | ||
' ▪▪▪▴▴▴▪▪▪ ', | ||
' ▦▪▪▪▪▴▪▪▪▪▰ ', | ||
' ▪▪▪▪▴▪▪▪▪ ', | ||
' ▪▪▴▴▴▪▪ ', | ||
' ▴▴▴▴▴ ', | ||
' ▴▴▴ ', | ||
' ▦ ', | ||
' ', | ||
' ', | ||
' ' | ||
) | ||
); | ||
}); | ||
it('-45 degrees ( Anti-Clockwise )', () => { | ||
imgSrc | ||
.clone() | ||
.rotate(-45, true) | ||
.getJGDSync() | ||
.should.be.sameJGD( | ||
mkJGD( | ||
' ', | ||
' ▰ ', | ||
@@ -136,2 +226,25 @@ ' ▪▪▪ ', | ||
mkJGD( | ||
' ▴▴▴ ', | ||
' ▪▴▴▴▴ ', | ||
' ▪▪▴▴▴▴▴ ', | ||
'▦▪▪▪▪▴▴▴▪▪ ', | ||
' ▪▪▪▪▪▪▪▪▪ ', | ||
' ▪▪▪▴▴▪▪▪▪▰ ', | ||
' ▪▴▴▴▴▪▪▪▰ ', | ||
' ▴▴▴▴▪▪ ', | ||
' ▴▴▴▴ ', | ||
' ▦▴ ', | ||
' ', | ||
' ' | ||
) | ||
); | ||
}); | ||
it('-60 degrees ( Anti-Clockwise )', () => { | ||
imgSrc | ||
.clone() | ||
.rotate(-60, true) | ||
.getJGDSync() | ||
.should.be.sameJGD( | ||
mkJGD( | ||
' ▰ ', | ||
@@ -160,3 +273,24 @@ ' ▪▪▪ ', | ||
mkJGD( | ||
' ▦▪▪▪▴▴▴▰ ', | ||
' ▪▪▪▪▴▴▴▴ ', | ||
' ▪▪▪▪▴▴▴▴ ', | ||
' ▪▪▪▪▴▴▴▴ ', | ||
' ▴▴▴▴▪▪▪▪ ', | ||
' ▴▴▴▴▪▪▪▪ ', | ||
' ▴▴▴▴▪▪▪▪ ', | ||
' ▦▴▴▴▪▪▪▰ ', | ||
' ', | ||
' ' | ||
) | ||
); | ||
}); | ||
it('-90 degrees ( Anti-Clockwise )', () => { | ||
imgSrc | ||
.clone() | ||
.rotate(-90, true) | ||
.getJGDSync() | ||
.should.be.sameJGD( | ||
mkJGD( | ||
' ', | ||
'▰▪▪▪▴▴▴▦ ', | ||
@@ -182,2 +316,25 @@ '▪▪▪▪▴▴▴▴ ', | ||
mkJGD( | ||
' ▦▦ ', | ||
' ▪▪▪▪ ', | ||
' ▪▪▪▪▪▴ ', | ||
' ▪▪▪▪▴▴▴▴ ', | ||
' ▴▴▴▪▪▴▴▴▴ ', | ||
' ▴▴▴▴▴▪▴▴▴▴ ', | ||
' ▦▴▴▴▴▪▪▴▴ ', | ||
' ▴▴▴▪▪▪▪▪ ', | ||
' ▪▪▪▪▪ ', | ||
' ▪▪▪ ', | ||
' ▰ ', | ||
' ' | ||
) | ||
); | ||
}); | ||
it('-120 degrees ( Anti-Clockwise )', () => { | ||
imgSrc | ||
.clone() | ||
.rotate(-120, true) | ||
.getJGDSync() | ||
.should.be.sameJGD( | ||
mkJGD( | ||
' ', | ||
@@ -207,3 +364,28 @@ ' ▴▦ ', | ||
' ', | ||
' ▦ ', | ||
' ▪▪▪ ', | ||
' ▪▪▪▪▪ ', | ||
' ▴▪▪▪▪▴▴ ', | ||
' ▴▴▴▪▪▴▴▴▴ ', | ||
' ▦▴▴▴▴▴▴▴▴▰▰ ', | ||
' ▴▴▴▪▪▴▴▴▴ ', | ||
' ▴▪▪▪▪▴▴ ', | ||
' ▪▪▪▪▪ ', | ||
' ▪▪▪ ', | ||
' ▰ ', | ||
' ', | ||
' ' | ||
) | ||
); | ||
}); | ||
it('-135 degrees ( Anti-Clockwise )', () => { | ||
imgSrc | ||
.clone() | ||
.rotate(-135, true) | ||
.getJGDSync() | ||
.should.be.sameJGD( | ||
mkJGD( | ||
' ', | ||
' ', | ||
' ▦ ', | ||
@@ -246,2 +428,23 @@ ' ▴▴▴ ', | ||
it('-180 degrees ( Anti-Clockwise )', () => { | ||
imgSrc | ||
.clone() | ||
.rotate(-180, true) | ||
.getJGDSync() | ||
.should.be.sameJGD( | ||
mkJGD( | ||
' ', | ||
' ▦▴▴▴▪▪▪▦ ', | ||
' ▴▴▴▴▪▪▪▪ ', | ||
' ▴▴▴▴▪▪▪▪ ', | ||
' ▴▴▴▴▪▪▪▪ ', | ||
' ▪▪▪▪▴▴▴▴ ', | ||
' ▪▪▪▪▴▴▴▴ ', | ||
' ▪▪▪▪▴▴▴▴ ', | ||
' ▰▪▪▪▴▴▴▰ ', | ||
' ' | ||
) | ||
); | ||
}); | ||
it('225 degrees', () => { | ||
@@ -255,2 +458,27 @@ imgSrc | ||
' ', | ||
' ', | ||
' ▦ ', | ||
' ▴▴▴ ', | ||
' ▴▴▴▴▴ ', | ||
' ▪▪▴▴▴▪▪ ', | ||
' ▪▪▪▪▴▪▪▪▪ ', | ||
' ▰▪▪▪▪▴▪▪▪▪▦ ', | ||
' ▪▪▪▴▴▴▪▪▪ ', | ||
' ▪▴▴▴▴▴▪ ', | ||
' ▴▴▴▴▴ ', | ||
' ▴▰▴ ', | ||
' ▰ ', | ||
' ' | ||
) | ||
); | ||
}); | ||
it('-225 degrees ( Anti-Clockwise )', () => { | ||
imgSrc | ||
.clone() | ||
.rotate(-225, true) | ||
.getJGDSync() | ||
.should.be.sameJGD( | ||
mkJGD( | ||
' ', | ||
' ▦ ', | ||
@@ -280,2 +508,23 @@ ' ▪▪▪ ', | ||
mkJGD( | ||
' ', | ||
'▰▪▪▪▴▴▴▦ ', | ||
'▪▪▪▪▴▴▴▴ ', | ||
'▪▪▪▪▴▴▴▴ ', | ||
'▪▪▪▪▴▴▴▴ ', | ||
'▴▴▴▴▪▪▪▪ ', | ||
'▴▴▴▴▪▪▪▪ ', | ||
'▴▴▴▴▪▪▪▪ ', | ||
'▰▴▴▴▪▪▪▦ ', | ||
' ' | ||
) | ||
); | ||
}); | ||
it('-270 degrees ( Anti-Clockwise )', () => { | ||
imgSrc | ||
.clone() | ||
.rotate(-270, true) | ||
.getJGDSync() | ||
.should.be.sameJGD( | ||
mkJGD( | ||
' ▦▪▪▪▴▴▴▰ ', | ||
@@ -302,2 +551,27 @@ ' ▪▪▪▪▴▴▴▴ ', | ||
mkJGD( | ||
' ', | ||
' ▰ ', | ||
' ▪▪▪ ', | ||
' ▪▪▪▪▪ ', | ||
' ▴▴▪▪▪▪▴ ', | ||
' ▴▴▴▴▪▪▴▴▴ ', | ||
'▰▰▴▴▴▴▴▴▴▴▦ ', | ||
' ▴▴▴▴▪▪▴▴▴ ', | ||
' ▴▴▪▪▪▪▴ ', | ||
' ▪▪▪▪▪ ', | ||
' ▪▪▪ ', | ||
' ▦ ', | ||
' ', | ||
' ' | ||
) | ||
); | ||
}); | ||
it('-315 degrees ( Anti-Clockwise )', () => { | ||
imgSrc | ||
.clone() | ||
.rotate(-315, true) | ||
.getJGDSync() | ||
.should.be.sameJGD( | ||
mkJGD( | ||
' ▰ ', | ||
@@ -341,2 +615,23 @@ ' ▴▰▴ ', | ||
}); | ||
it('-360 degrees ( Anti-Clockwise )', () => { | ||
imgSrc | ||
.clone() | ||
.rotate(-360, true) | ||
.getJGDSync() | ||
.should.be.sameJGD( | ||
mkJGD( | ||
'▰▴▴▴▪▪▪▰ ', | ||
'▴▴▴▴▪▪▪▪ ', | ||
'▴▴▴▴▪▪▪▪ ', | ||
'▴▴▴▴▪▪▪▪ ', | ||
'▪▪▪▪▴▴▴▴ ', | ||
'▪▪▪▪▴▴▴▴ ', | ||
'▪▪▪▪▴▴▴▴ ', | ||
'▦▪▪▪▴▴▴▦ ', | ||
' ', | ||
' ' | ||
) | ||
); | ||
}); | ||
}); | ||
@@ -374,2 +669,25 @@ | ||
' ', | ||
' ▴ ', | ||
' ▴▴▴ ', | ||
' ▦▴▴▴▦ ', | ||
' ▴▴▦▴▦▪▪ ', | ||
' ▴▴▴▴▦▪▪▪▪ ', | ||
' ▴▴▦▴▦▪▪ ', | ||
' ▦▴▴▴▦ ', | ||
' ▴▴▴ ', | ||
' ▴ ', | ||
' ', | ||
' ' | ||
) | ||
); | ||
}); | ||
it('-45 degrees ( Anti-Clockwise )', () => { | ||
imgSrc | ||
.clone() | ||
.rotate(-45, true) | ||
.getJGDSync() | ||
.should.be.sameJGD( | ||
mkJGD( | ||
' ', | ||
' ▪ ', | ||
@@ -401,2 +719,25 @@ ' ▪▪▪ ', | ||
' ▦▴▴▴▦ ', | ||
' ▴▴▦▴▦▴▴ ', | ||
' ▴▴▴▴▦▴▴▴▴ ', | ||
' ▴▴▦▪▦▴▴ ', | ||
' ▦▪▪▪▦ ', | ||
' ▪▪▪ ', | ||
' ▪ ', | ||
' ', | ||
' ' | ||
) | ||
); | ||
}); | ||
it('-135 degrees ( Anti-Clockwise )', () => { | ||
imgSrc | ||
.clone() | ||
.rotate(-135, true) | ||
.getJGDSync() | ||
.should.be.sameJGD( | ||
mkJGD( | ||
' ', | ||
' ▴ ', | ||
' ▴▴▴ ', | ||
' ▦▴▴▴▦ ', | ||
' ▪▪▦▴▦▴▴ ', | ||
@@ -425,2 +766,25 @@ ' ▪▪▪▪▦▴▴▴▴ ', | ||
' ▦▴▴▴▦ ', | ||
' ▪▪▦▴▦▴▴ ', | ||
' ▪▪▪▪▦▴▴▴▴ ', | ||
' ▪▪▦▴▦▴▴ ', | ||
' ▦▴▴▴▦ ', | ||
' ▴▴▴ ', | ||
' ▴ ', | ||
' ', | ||
' ' | ||
) | ||
); | ||
}); | ||
it('-225 degrees ( Anti-Clockwise )', () => { | ||
imgSrc | ||
.clone() | ||
.rotate(-225, true) | ||
.getJGDSync() | ||
.should.be.sameJGD( | ||
mkJGD( | ||
' ', | ||
' ▴ ', | ||
' ▴▴▴ ', | ||
' ▦▴▴▴▦ ', | ||
' ▴▴▦▴▦▴▴ ', | ||
@@ -446,3 +810,26 @@ ' ▴▴▴▴▦▴▴▴▴ ', | ||
' ', | ||
' ▪ ', | ||
' ▪▪▪ ', | ||
' ▦▪▪▪▦ ', | ||
' ▴▴▦▪▦▴▴ ', | ||
' ▴▴▴▴▦▴▴▴▴ ', | ||
' ▴▴▦▴▦▴▴ ', | ||
' ▦▴▴▴▦ ', | ||
' ▴▴▴ ', | ||
' ▴ ', | ||
' ', | ||
' ' | ||
) | ||
); | ||
}); | ||
it('-315 degrees ( Anti-Clockwise )', () => { | ||
imgSrc | ||
.clone() | ||
.rotate(-315, true) | ||
.getJGDSync() | ||
.should.be.sameJGD( | ||
mkJGD( | ||
' ', | ||
' ▴ ', | ||
' ▴▴▴ ', | ||
@@ -499,2 +886,21 @@ ' ▦▴▴▴▦ ', | ||
mkJGD( | ||
'▴▴ ', | ||
'▴▴▴▴▪▪▪▪ ', | ||
'▦▦▴▴▪▪▪▪ ', | ||
'▦▦▦▦▴▴▴▪ ', | ||
' ▦▦▴▴▴▴ ', | ||
' ▴ ', | ||
' ', | ||
' ' | ||
) | ||
); | ||
}); | ||
it('-10 degrees ( Anti-Clockwise )', () => { | ||
imgSrc | ||
.clone() | ||
.rotate(-10, true) | ||
.getJGDSync() | ||
.should.be.sameJGD( | ||
mkJGD( | ||
' ▪ ', | ||
@@ -519,3 +925,24 @@ ' ▴▴▴▪▪▪▪ ', | ||
mkJGD( | ||
' ▴ ', | ||
' ▴▴▴ ', | ||
'▦▦▴▴▴▪ ', | ||
'▦▦▦▦▪▪▪▪ ', | ||
' ▦▦▴▴▪▪▪ ', | ||
' ▴▴▴▴▪ ', | ||
' ▴▴ ', | ||
' ', | ||
' ', | ||
' ' | ||
) | ||
); | ||
}); | ||
it('-30 degrees ( Anti-Clockwise )', () => { | ||
imgSrc | ||
.clone() | ||
.rotate(-30, true) | ||
.getJGDSync() | ||
.should.be.sameJGD( | ||
mkJGD( | ||
' ', | ||
' ▪▪ ', | ||
@@ -541,3 +968,24 @@ ' ▪▪▪▪ ', | ||
mkJGD( | ||
' ▴▴ ', | ||
' ▦▴▴▴ ', | ||
'▦▦▦▴▴▴ ', | ||
' ▦▦▦▴▪▪ ', | ||
' ▦▦▴▪▪▪ ', | ||
' ▴▴▴▪▪ ', | ||
' ▴▴▴ ', | ||
' ▴ ', | ||
' ', | ||
' ' | ||
) | ||
); | ||
}); | ||
it('-45 degrees ( Anti-Clockwise )', () => { | ||
imgSrc | ||
.clone() | ||
.rotate(-45, true) | ||
.getJGDSync() | ||
.should.be.sameJGD( | ||
mkJGD( | ||
' ', | ||
' ▪▪ ', | ||
@@ -563,3 +1011,24 @@ ' ▪▪▪▴ ', | ||
mkJGD( | ||
' ▦▦▴▴ ', | ||
' ▦▦▴▴ ', | ||
' ▦▦▴▴ ', | ||
' ▦▦▴▴ ', | ||
' ▴▴▪▪ ', | ||
' ▴▴▪▪ ', | ||
' ▴▴▪▪ ', | ||
' ▴▴▪▪ ', | ||
' ', | ||
' ' | ||
) | ||
); | ||
}); | ||
it('-90 degrees ( Anti-Clockwise )', () => { | ||
imgSrc | ||
.clone() | ||
.rotate(-90, true) | ||
.getJGDSync() | ||
.should.be.sameJGD( | ||
mkJGD( | ||
' ', | ||
'▪▪▴▴ ', | ||
@@ -585,3 +1054,24 @@ '▪▪▴▴ ', | ||
mkJGD( | ||
' ▦ ', | ||
' ▦▦▦ ', | ||
' ▦▦▦▴▴ ', | ||
' ▴▦▦▴▴▴ ', | ||
' ▴▴▴▴▴▴ ', | ||
' ▴▴▴▪▪▴ ', | ||
' ▴▪▪▪ ', | ||
' ▪▪ ', | ||
' ', | ||
' ' | ||
) | ||
); | ||
}); | ||
it('-135 degrees ( Anti-Clockwise )', () => { | ||
imgSrc | ||
.clone() | ||
.rotate(-135, true) | ||
.getJGDSync() | ||
.should.be.sameJGD( | ||
mkJGD( | ||
' ', | ||
' ▴ ', | ||
@@ -617,2 +1107,19 @@ ' ▴▴▴ ', | ||
it('-180 degrees ( Anti-Clockwise )', () => { | ||
imgSrc | ||
.clone() | ||
.rotate(-180, true) | ||
.getJGDSync() | ||
.should.be.sameJGD( | ||
mkJGD( | ||
' ', | ||
' ▴▴▴▴▦▦▦▦ ', | ||
' ▴▴▴▴▦▦▦▦ ', | ||
' ▪▪▪▪▴▴▴▴ ', | ||
' ▪▪▪▪▴▴▴▴ ', | ||
' ' | ||
) | ||
); | ||
}); | ||
it('225 degrees', () => { | ||
@@ -625,2 +1132,23 @@ imgSrc | ||
mkJGD( | ||
' ', | ||
' ▴ ', | ||
' ▴▴▴ ', | ||
' ▪▪▴▴▴ ', | ||
' ▪▪▪▴▦▦ ', | ||
' ▪▪▴▦▦▦ ', | ||
' ▴▴▴▦▦▦ ', | ||
' ▴▴▴▦ ', | ||
' ▴▴ ', | ||
' ' | ||
) | ||
); | ||
}); | ||
it('-225 degrees ( Anti-Clockwise )', () => { | ||
imgSrc | ||
.clone() | ||
.rotate(-225, true) | ||
.getJGDSync() | ||
.should.be.sameJGD( | ||
mkJGD( | ||
' ▦ ', | ||
@@ -647,2 +1175,23 @@ ' ▦▦▦ ', | ||
mkJGD( | ||
' ', | ||
' ▪▪ ', | ||
' ▪▪▪▴ ', | ||
' ▴▪▪▴▴▴ ', | ||
' ▴▴▴▴▴▴ ', | ||
'▴▴▴▦▦▴ ', | ||
'▴▴▦▦▦ ', | ||
' ▦▦▦ ', | ||
' ▦ ', | ||
' ' | ||
) | ||
); | ||
}); | ||
it('-315 degrees ( Anti-Clockwise )', () => { | ||
imgSrc | ||
.clone() | ||
.rotate(-315, true) | ||
.getJGDSync() | ||
.should.be.sameJGD( | ||
mkJGD( | ||
' ▴▴ ', | ||
@@ -649,0 +1198,0 @@ ' ▦▴▴▴ ', |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
67913
1487
+ Added@jimp/utils@0.16.3-canary.1100.1371.0(transitive)
- Removed@jimp/utils@0.16.13(transitive)