Render surface maps directly and preserve their quality
This commit is contained in:
@@ -193,7 +193,7 @@ async function processJob(job: {
|
||||
await sharp(await readFile(`${directory}/raw/map.png`), {
|
||||
limitInputPixels: 16777216,
|
||||
})
|
||||
.webp({ quality: 90 })
|
||||
.webp({ lossless: true })
|
||||
.toFile(`${output}/map.webp`);
|
||||
let processedFaces = 0;
|
||||
for (const point of manifest.availableViewpoints ?? manifest.viewpoints) {
|
||||
|
||||
Reference in New Issue
Block a user