#815 Rotation and flipping images

This commit is contained in:
Dolan
2021-03-15 02:41:37 +00:00
parent a3febae8a3
commit bd40b11ce4
33 changed files with 615 additions and 126 deletions

View File

@ -13,7 +13,7 @@ function createDrawing(drawingOptions?: IDrawingOptions): Drawing {
fileName: "test.jpg",
stream: Buffer.from(imageBase64Data, "base64"),
path: path,
dimensions: {
transformation: {
pixels: {
x: 100,
y: 100,
@ -165,6 +165,9 @@ describe("Drawing", () => {
},
{
"a:xfrm": [
{
_attr: {},
},
{
"a:ext": {
_attr: {
@ -392,6 +395,9 @@ describe("Drawing", () => {
},
{
"a:xfrm": [
{
_attr: {},
},
{
"a:ext": {
_attr: {