Skip to content

Commit

Permalink
fix(basic.gblib): FILL keyword can now template images and AS IMAGE c…
Browse files Browse the repository at this point in the history
…an convert a DOCX to a PNG.
  • Loading branch information
rodrigorodriguez committed Feb 8, 2023
1 parent 9f8349f commit 16bdab6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/basic.gblib/services/SystemKeywords.ts
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ import sharp from 'sharp';
import apply from 'async/apply';
import ImageModule from 'open-docxtemplater-image-module';


/**
* @fileoverview General Bots server core.
*/
Expand Down Expand Up @@ -1469,7 +1470,7 @@ export class SystemKeywords {

},
getSize: (img, tagValue, tagName) => {
return images[indexImage].size;
return images[indexImage++].size;
}
};

Expand Down

0 comments on commit 16bdab6

Please sign in to comment.