- 🖼️ {$_("upload_image")}
- uploadImage()}
- >
- {#if imgError}
-
- {$_("upload_image_error")}
-
- {/if}
- {#if imageLoaded}
-
- {$_("image_info", { values: { width: img?.width || 0, height: img?.height || 0 }})}
-
-
-
- {$_("is_pixelation")}
-
- /
-
-
- {#if isDoPixelation}
-
- X:
- 1 /
- {
- if (previewRef && img) {
- pixelationImage(isDoPixelation, Math.max(2, Number(e.currentTarget.value)), previewRef, img)
- } else {
- console.error("at onChange pixelationSize")
- }
- }}
- >
-
- ={">"} ( {pixelationSize ? Math.floor((img?.width || 0) / pixelationSize) : 0} px × {pixelationSize ? Math.floor((img?.height || 0) / pixelationSize) : 0} px )
-
-
- {/if}
-
- {/if}
+ 🖼️ {$_('upload_image')}
+ uploadImage()}
+ />
+ {#if imgError}
+
+ {$_('upload_image_error')}
+
+ {/if}
+ {#if imageLoaded}
+
+ {$_('image_info', { values: { width: img?.width || 0, height: img?.height || 0 } })}
+
+
+
+ {$_('is_pixelation')}
+
+ /
+
+
+ {#if isDoPixelation}
+
+ X:
+ 1 /
+ {
+ if (previewRef && img) {
+ pixelationImage(
+ isDoPixelation,
+ Math.max(2, Number(e.currentTarget.value)),
+ previewRef,
+ img
+ );
+ } else {
+ console.error('at onChange pixelationSize');
+ }
+ }}
+ />
+
+ ={'>'} ( {pixelationSize ? Math.floor((img?.width || 0) / pixelationSize) : 0} px × {pixelationSize
+ ? Math.floor((img?.height || 0) / pixelationSize)
+ : 0} px )
+
+
+ {/if}
+
+ {/if}
-
-
-
-
\ No newline at end of file
+
-
- {$_("change_full_screen")}
+
+
+ {$_('change_full_screen')}
+
-
-
-
- {$_("generate_video_message")}
-
- {$_("ffmpeg_error")}
- {$_("generate_video_error")}
-
- {$_("download_video")}
+
+
+
+ {$_('generate_video_message')}
+
+
+ {$_('ffmpeg_error')}
+
+ {$_('generate_video_error')}
+
+ {$_('download_video')}
diff --git a/src/routes/main/sizeInput.svelte b/src/routes/main/sizeInput.svelte
index bcca1af..09de664 100644
--- a/src/routes/main/sizeInput.svelte
+++ b/src/routes/main/sizeInput.svelte
@@ -1,69 +1,80 @@