update poster aspect ratio
Before Width: | Height: | Size: 2.9 MiB After Width: | Height: | Size: 2.8 MiB |
Before Width: | Height: | Size: 2.6 MiB After Width: | Height: | Size: 2.6 MiB |
Before Width: | Height: | Size: 5.9 MiB After Width: | Height: | Size: 5.7 MiB |
Before Width: | Height: | Size: 4.8 MiB After Width: | Height: | Size: 4.8 MiB |
Before Width: | Height: | Size: 4.5 MiB After Width: | Height: | Size: 4.3 MiB |
Before Width: | Height: | Size: 3.8 MiB After Width: | Height: | Size: 3.5 MiB |
Before Width: | Height: | Size: 4.1 MiB After Width: | Height: | Size: 4 MiB |
Before Width: | Height: | Size: 3.8 MiB After Width: | Height: | Size: 3.7 MiB |
Before Width: | Height: | Size: 6.2 MiB After Width: | Height: | Size: 6 MiB |
Before Width: | Height: | Size: 4.9 MiB After Width: | Height: | Size: 4.8 MiB |
Before Width: | Height: | Size: 6.9 MiB After Width: | Height: | Size: 6.9 MiB |
Before Width: | Height: | Size: 6.3 MiB After Width: | Height: | Size: 6.2 MiB |
|
@ -5,7 +5,7 @@ import { exists } from "https://deno.land/std@0.213.0/fs/exists.ts";
|
||||||
const engine = new Engine();
|
const engine = new Engine();
|
||||||
await engine.init();
|
await engine.init();
|
||||||
|
|
||||||
const FORMAT = 'webp';
|
const FORMAT = 'png';
|
||||||
|
|
||||||
async function genImage (destFn, url, element) {
|
async function genImage (destFn, url, element) {
|
||||||
|
|
||||||
|
@ -20,7 +20,7 @@ async function genImage (destFn, url, element) {
|
||||||
element,
|
element,
|
||||||
format: FORMAT,
|
format: FORMAT,
|
||||||
scale: 4,
|
scale: 4,
|
||||||
quality: 100,
|
//quality: 100,
|
||||||
})
|
})
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|