u/Dry-Number7523

Stufi dei clienti che vi mandano screenshot sfocati su WhatsApp E file HEIC da 20MB? Ho creato una pipeline "Smart" locale con AI per le immagini, pensata per web designer. Ho reinventato la ruota?

Ciao a tutti,
come web designer, il mio più grande problema nel workflow sono sempre i materiali dei clienti. Nella stessa cartella mi ritrovo una foto da 400px super compressa presa da WhatsApp, un TIFF raw da 25MB, una marea di file HEIC dell'iPhone e un logo con sfondo trasparente.
Fare l'upscaling manuale di quelle piccole, ridimensionare quelle enormi, sistemare i PNG trasparenti e convertire tutto in formati pronti per il web richiede un'infinità di tempo. I normali convertitori in batch sono "stupidi": comprimono tutto alla cieca, distruggendo completamente le foto piccole che fanno già schifo.
Così mi sono rotto e ho creato una web app locale in Python con una UI pulita, che "pensa" prima di processare la roba. Ecco la logica che usa:

  • Upscaling AI Condizionale: Se la larghezza dell'immagine è sotto una certa soglia (es. 1000px), la fa passare attraverso una rete neurale AI locale (Real-ESRGAN) per aggiungere i dettagli mancanti e nitidezza, per poi comprimerla in WebP.
  • Downscaling Nitido: Se l'immagine è già grande, salta l'AI per risparmiare potenza di calcolo, fa un downscaling fluido (Lanczos) e applica in automatico un filtro Unsharp Mask. Questo garantisce che foto di architettura e prodotti restino incredibilmente nitide anche a 1440px.
  • Compressione Estrema: Usa l'ottimizzazione WebP impostata a method=6 (il massimo livello di compressione possibile), mantenendo il peso dei file spesso sotto i 100kb anche per le immagini HD a tutta larghezza.
  • Gestione Intelligente dell'Alpha: Rileva e preserva correttamente la trasparenza per i loghi (PNG/GIF) invece di appiattirli su orrendi sfondi bianchi o neri.
  • Gestisce i formati rognosi: Legge in automatico i file HEIC degli iPhone e converte i formati CMYK in RGB senza fare una piega.
  • Naming lato SEO: Prende il nome base del progetto (es. "villa-mare") e ti sputa fuori uno ZIP pulito con villa-mare-1.webp, villa-mare-2.webp, ecc.

Ho creato una GUI minimale con degli slider per regolare la larghezza massima e la qualità al volo, ho tolto qualsiasi branding dei framework e l'ho ottimizzata per girare su Apple Silicon (MPS). Gira al 100% in locale sulla mia GPU: zero limiti API, zero abbonamenti, e non devo caricare i dati riservati dei clienti su server a caso.
Le mie domande per voi:

  1. Ho solo perso tempo a reinventare la ruota? Esiste già un tool standalone che fa questo tipo di processamento AI condizionale + conversione WebP in locale e gratis? (Conosco Upscayl, Squoosh e Retrobatch, ma nessuno sembra avere questa specifica pipeline automatizzata).
  2. Se non esiste, è qualcosa che aggiungereste al vostro workflow? Sto valutando se pacchettizzarlo in una vera app standalone "1-click" (magari usando Tauri o Electron) e rilasciarlo per la community.

Fatemi sapere cosa ne pensate!

reddit.com
u/Dry-Number7523 — 2 days ago

Tired of clients sending blurry WhatsApp screenshots AND 20MB HEICs? I built a "Smart" Local AI Image Pipeline for web designers. Have I reinvented the wheel?

Hey everyone,
As a web designer, my biggest bottleneck is always client assets. In the same folder, a client will send me a 400px heavily compressed WhatsApp photo, a 25MB raw TIFF, a bunch of iPhone HEIC files, and a transparent logo.
Manually upscaling the small ones, resizing the huge ones, fixing the transparent PNGs, and converting everything to web-ready formats takes forever. Normal batch converters are "dumb"—they just compress everything blindly, which completely destroys the already-bad small photos.
So, I got fed up and built a local Python web app with a clean UI that actually thinks before it processes.
Here is the logic it uses:

  • Conditional AI Upscaling: If the image width is under a certain threshold (e.g., 1000px), it routes it through a local AI neural network (Real-ESRGAN) to add missing details and sharpness, then compresses it to WebP.
  • Crispy Downscaling: If it's already large, it skips the AI to save compute power, smoothly downscales it (Lanczos), and applies an automatic Unsharp Mask filter. This ensures architecture and product photos stay incredibly crisp even at 1440px.
  • Extreme Compression: Uses WebP optimization at method=6 (the absolute max compression effort), keeping file sizes often under 100kb for full-width HD images.
  • Smart Alpha Handling: Properly detects and preserves transparency for logos (PNGs/GIFs) instead of flattening them with ugly black or white backgrounds.
  • Handles the weird stuff: Automatically reads HEIC files from iPhones and converts CMYK to RGB without breaking a sweat.
  • SEO Naming: Takes a base project name (e.g., "beach-house") and spits out a clean ZIP file with beach-house-1.webpbeach-house-2.webp, etc.

I built a minimal GUI with sliders to adjust Max Width and Quality on the fly, stripped out all the framework branding, and optimized it to run on Apple Silicon (MPS). It runs 100% locally on my GPU—no API limits, no subscriptions, no uploading confidential client data to random servers.
My questions for you:

  1. Did I just spend time reinventing the wheel? Is there already a standalone tool that does this conditional AI processing + WebP conversion locally and for free? (I know about Upscayl, Squoosh, and Retrobatch, but none seem to do this specific automated pipeline).
  2. If this doesn't exist, is it something you would add to your workflow? I'm debating whether I should package it into a proper 1-click standalone app (maybe using Tauri or Electron) and release it for the community.

Would love to hear your thoughts!

reddit.com
u/Dry-Number7523 — 2 days ago
▲ 5 r/ItaliaStartups+1 crossposts

Tired of clients sending blurry WhatsApp screenshots AND 20MB HEICs? I built a Smart Local AI Image Pipeline for web designers. Have I reinvented the wheel?

Hey everyone,
As a web designer, my biggest bottleneck is always client assets. In the same folder, a client will send me a 400px heavily compressed WhatsApp photo, a 25MB raw TIFF, a bunch of iPhone HEIC files, and a transparent logo.
Manually upscaling the small ones, resizing the huge ones, fixing the transparent PNGs, and converting everything to web-ready formats takes forever. Normal batch converters are "dumb"—they just compress everything blindly, which completely destroys the already-bad small photos.
So, I got fed up and built a local Python web app with a clean UI that actually thinks before it processes.
Here is the logic it uses:

  • Conditional AI Upscaling: If the image width is under a certain threshold (e.g., 1000px), it routes it through a local AI neural network (Real-ESRGAN) to add missing details and sharpness, then compresses it to WebP.
  • Crispy Downscaling: If it's already large, it skips the AI to save compute power, smoothly downscales it (Lanczos), and applies an automatic Unsharp Mask filter. This ensures architecture and product photos stay incredibly crisp even at 1440px.
  • Extreme Compression: Uses WebP optimization at method=6 (the absolute max compression effort), keeping file sizes often under 100kb for full-width HD images.
  • Smart Alpha Handling: Properly detects and preserves transparency for logos (PNGs/GIFs) instead of flattening them with ugly black or white backgrounds.
  • Handles the weird stuff: Automatically reads HEIC files from iPhones and converts CMYK to RGB without breaking a sweat.
  • SEO Naming: Takes a base project name (e.g., "beach-house") and spits out a clean ZIP file with beach-house-1.webpbeach-house-2.webp, etc.

I built a minimal GUI with sliders to adjust Max Width and Quality on the fly, stripped out all the framework branding, and optimized it to run on Apple Silicon (MPS). It runs 100% locally on my GPU—no API limits, no subscriptions, no uploading confidential client data to random servers.
My questions for you:

  1. Did I just spend time reinventing the wheel? Is there already a standalone tool that does this conditional AI processing + WebP conversion locally and for free? (I know about Upscayl, Squoosh, and Retrobatch, but none seem to do this specific automated pipeline).
  2. If this doesn't exist, is it something you would add to your workflow? I'm debating whether I should package it into a proper 1-click standalone app (maybe using Tauri or Electron) and release it for the community.

Would love to hear your thoughts!

u/Dry-Number7523 — 2 days ago