Supprimer GIF, multi-shot en format 10x15cm

- Suppression du mode GIF (gif_maker.py, routes, UI)
- Multi-shot (strip/collage) produit maintenant des images 10x15cm
  (1200x1800px @ 300dpi) pret pour impression sublimation
- Recadrage intelligent (crop centre) pour remplir les cellules

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
2026-03-21 22:55:49 +01:00
parent c8e4ec80c1
commit 3b3271a32f
9 changed files with 56 additions and 106 deletions

View File

@@ -71,7 +71,6 @@ async function lancerCapture() {
function getNombrePhotos() {
if (modeActuel === 'simple') return 1;
if (modeActuel === 'multi') return config.multi_shot?.nombre_photos || 3;
if (modeActuel === 'gif') return config.gif?.nombre_frames || 4;
return 1;
}
@@ -109,14 +108,7 @@ async function traiterCapture() {
return;
}
if (modeActuel === 'gif') {
// Creer le GIF
const resultat = await apiPost('/api/gif', { photos: photosSession });
if (resultat.nom) {
photoFinale = resultat.nom;
afficherPreviewPhoto('/data/exports/' + resultat.nom);
}
} else if (modeActuel === 'multi') {
if (modeActuel === 'multi') {
// Creer le strip/collage
const mode = config.multi_shot?.mode || 'strip';
let resultat;