Bibata-Original bitmaps

This commit is contained in:
ful1e5 2021-02-22 18:01:51 +05:30
parent e86dec5163
commit 89eba25a9d
4 changed files with 79 additions and 8 deletions

View file

@ -67,7 +67,6 @@ class BitmapsGenerator {
const out = path.resolve(this.bitmapsDir, `${key}.png`);
console.log("Saving", key, "...");
await svg.screenshot({ omitBackground: true, path: out });
await page.close();
}
@ -149,7 +148,6 @@ class BitmapsGenerator {
const number = frameNumber(index, options.framePadding);
const frame = `${key}-${number}.png`;
console.log("Saving", frame, "...");
this.saveFrameImage(frame, img);
prevImg = img;