Sending media data down image

This commit is contained in:
Dolan
2018-12-21 01:39:20 +00:00
parent 1ea347ed21
commit d021a3995e
9 changed files with 43 additions and 23 deletions

View File

@ -8,7 +8,21 @@ import { Anchor } from "./anchor";
function createDrawing(drawingOptions: IDrawingOptions): Anchor {
return new Anchor(
1,
{
referenceId: 1,
fileName: "test.png",
stream: new Buffer(""),
dimensions: {
pixels: {
x: 0,
y: 0,
},
emus: {
x: 0,
y: 0,
},
},
},
{
pixels: {
x: 100,