fix(basic.gblib): FILL keyword can now template images and AS IMAGE can convert a DOCX to a PNG.

This commit is contained in:
rodrigorodriguez 2023-02-08 07:14:02 -03:00
parent 9f8349f0f9
commit 16bdab6bcc

View file

@ -57,6 +57,7 @@ import sharp from 'sharp';
import apply from 'async/apply'; import apply from 'async/apply';
import ImageModule from 'open-docxtemplater-image-module'; import ImageModule from 'open-docxtemplater-image-module';
/** /**
* @fileoverview General Bots server core. * @fileoverview General Bots server core.
*/ */
@ -1469,7 +1470,7 @@ export class SystemKeywords {
}, },
getSize: (img, tagValue, tagName) => { getSize: (img, tagValue, tagName) => {
return images[indexImage].size; return images[indexImage++].size;
} }
}; };