mirror of
https://github.com/snapotter-hq/SnapOtter.git
synced 2026-08-03 07:46:42 +02:00
feat: add Optimize for Web tool (#68)
* feat(image-engine): add OptimizeForWebOptions type * feat(image-engine): add optimizeForWeb operation * feat(shared): add optimize-for-web tool definition and i18n * feat(api): add optimize-for-web route with preview endpoint * feat(web): add optimize-for-web settings component with live preview * feat(web): register optimize-for-web in tool registry * fix(web): align toggle switch translate with codebase pattern --------- Co-authored-by: stirling-image <stirling-image@users.noreply.github.com>
This commit is contained in:
co-authored by
stirling-image
parent
c2c104e887
commit
5be8be3dc3
@@ -55,6 +55,15 @@ export const TOOLS: Tool[] = [
|
||||
route: "/compress",
|
||||
},
|
||||
// Optimization
|
||||
{
|
||||
id: "optimize-for-web",
|
||||
name: "Optimize for Web",
|
||||
description:
|
||||
"Optimize images for web with format conversion, quality control, and live preview",
|
||||
category: "optimization",
|
||||
icon: "Globe",
|
||||
route: "/optimize-for-web",
|
||||
},
|
||||
{
|
||||
id: "strip-metadata",
|
||||
name: "Remove Metadata",
|
||||
|
||||
Reference in New Issue
Block a user