App Store : en-tête exporté en PNG (le JPEG est refusé)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Tony AVERTY 2026-10-15 11:48:51 +02:00
parent bd149a180d
commit 1b3834f5c9
3 changed files with 1 additions and 1 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 678 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 MiB

View file

@ -33,7 +33,7 @@ const W = 1320, H = 2868, NAMES = ['01-accroche', '02-tampon', '03-recompenses',
await header.goto(pathToFileURL(path.join(__dirname, 'entete.html')).href);
await header.evaluate(() => document.fonts.ready);
await header.waitForLoadState('networkidle');
await header.screenshot({ path: path.join(out, 'entete.jpg'), type: 'jpeg', quality: 95 });
await header.screenshot({ path: path.join(out, 'entete.png'), type: 'png' }); // l'en-tête n'accepte pas le JPEG
await browser.close();
console.log(`${NAMES.length} captures dans ${out}`);
})();