diff --git a/frontend/src/App.svelte b/frontend/src/App.svelte new file mode 100644 index 0000000..4cfc5bb --- /dev/null +++ b/frontend/src/App.svelte @@ -0,0 +1,158 @@ + + + + PNG Editor + + + + + Width: + Height: + + + + Fit mode: + + Resize only (no crop) + Crop to fit box + + + + + {#if fit === "cover"} + + Crop position: + + Center + Top + Bottom + Left + Right + Top-left + Top-right + Bottom-left + Bottom-right + + + + {/if} + + + Quality: + + + {quality} + + + + Format: + + PNG + WebP + JPEG + + + + + {#if error} + {error} + {/if} + + + {processing ? "Processing..." : "Transform & Download"} + + + + \ No newline at end of file
{error}