File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6690,7 +6690,7 @@ async function processWallpaperFiles(files) {
66906690 let processedCount = 0;
66916691
66926692 for (let file of files) {
6693- // --- NEW: Handle .guraatmos files ---
6693+ // --- Handle .guraatmos files ---
66946694 if (file.name.endsWith('.guraatmos')) {
66956695 const text = await file.text();
66966696 let data;
@@ -6713,12 +6713,7 @@ async function processWallpaperFiles(files) {
67136713
67146714 let dominantColor = null;
67156715 let firstFrame = null;
6716-
6717- // Generate first frame if it's a video (and not provided in export, though export usually doesn't generate fresh frames on fly)
6718- // For simplicity, we assume the export is an image or we handle video normally.
6719- // If the exported file was a video, 'imageBlob' is that video file.
67206716
6721- let firstFrame = null;
67226717 if (data.wallpaperType.startsWith('image/gif') || data.wallpaperType.startsWith('image/webp')) {
67236718 // Try to regenerate first frame for animated types
67246719 try { firstFrame = await extractFirstFrame(imageBlob); } catch(e){}
You can’t perform that action at this time.
0 commit comments