By · Last updated 2026-08-12

Home/Documentazione/breadcrumb.imageRedaction
Torna alla Documentazione

Redazione delle Immagini — Guida all'Uso

Rileva e copri i dati personali all'interno di scansioni, foto e screenshot. Questa guida illustra il flusso di lavoro di caricamento, analisi, redazione e download, i limiti di dimensione e formato, il supporto linguistico OCR e la chiamata API sottostante.

Flusso di lavoro: carica, analizza, redigi, scarica

Ogni immagine attraversa gli stessi quattro passaggi, che tu usi la web app, chiami direttamente l'API o richiami lo strumento anonym_legal_redact_image tramite il server MCP.

1. Carica

Scegli un file PNG o JPG. L'app controlla il tipo e la dimensione del file rispetto al limite di caricamento del tuo piano prima di inviare qualsiasi cosa al server.

2. Analizza

L'OCR (Tesseract) legge il testo nell'immagine e registra dove si trova ogni porzione di testo. Quel testo estratto viene poi elaborato dallo stesso rilevatore di PII usato per i documenti, restituendo le entità trovate e le loro posizioni — non viene ancora redatto nulla.

3. Redigi

Riesegui la richiesta con mode impostato su "redact" per coprire ogni regione rilevata con un riquadro nero pieno disegnato direttamente sui pixel dell'immagine. Questa è una redazione visiva a senso unico, non una crittografia reversibile.

4. Scarica

L'immagine redatta viene restituita come file (PNG o il tipo di contenuto originale) che salvi localmente — nulla viene conservato sul server dopo l'invio della risposta.

Limiti di dimensione e pixel

  • Sono supportati solo PNG e JPG (JPEG). Altri formati raster come TIFF, BMP, WebP e GIF non sono attualmente supportati.
  • Le immagini sono limitate a 20 MB lato server. Il limite del tuo piano potrebbe essere inferiore — il piano Basic limita i caricamenti a 5 MB (Pro 10 MB, Business 20 MB); il piano gratuito non include affatto la redazione delle immagini.
  • La risoluzione totale (larghezza × altezza) è limitata a 150 megapixel. I caricamenti oltre questo limite vengono rifiutati prima dell'elaborazione.

Supporto linguistico OCR

L'OCR funziona su Tesseract. Il campo language dell'API accetta un codice ISO 639-1 (predefinito "en" per l'inglese) mappato a un pacchetto linguistico Tesseract — sono mappate circa tre dozzine di lingue, tra cui tedesco, francese, spagnolo, italiano, portoghese, olandese, polacco, russo, ucraino, arabo, ebraico, hindi, giapponese, coreano, cinese, thailandese, vietnamita e turco. La disponibilità effettiva dipende da quali pacchetti Tesseract sono installati sull'host OCR; una lingua non disponibile ripiega sull'inglese.

Riferimento API

La redazione delle immagini è disponibile direttamente tramite l'API per le integrazioni che non passano dalla web app, e tramite il server MCP come strumento anonym_legal_redact_image (modalità "analyze" o "redact") per i client MCP come Claude.

POST /api/presidio/image

Authentication: Autenticati con un token Bearer nell'header Authorization (un token API o una sessione autenticata, allo stesso modo degli endpoint di analisi del testo). Le richieste senza un token valido restituiscono 401.

Request body: Invia un corpo multipart/form-data. Campi obbligatori: file (l'immagine PNG o JPG) e mode ("analyze" o "redact"). Campi opzionali: language (codice lingua OCR ISO 639-1, predefinito "en"), entities (un array JSON dei tipi di entità a cui limitare il rilevamento), score_threshold e fill_color (solo modalità redact, predefinito "black"), operator (redact mode only: "redact" | "replace" | "mask", default "redact"), and mask_char (redact mode with operator="mask" only, default "*").

Response: In modalità analyze la risposta è JSON: le entità rilevate (tipo, posizione del testo e punteggio di affidabilità) più un campo tokens_charged. In modalità redact la risposta è l'immagine redatta stessa (binaria, Content-Type image/png o il tipo originale) con il costo in token restituito nell'header X-Tokens-Charged.

FAQ

Quali formati di immagine sono supportati?

Solo PNG e JPG (JPEG). Altri formati raster come TIFF, BMP, WebP e GIF non sono attualmente supportati.

Quali sono i limiti di dimensione e risoluzione?

20 MB e 150 megapixel di risoluzione totale, ulteriormente limitati dal limite di caricamento del tuo piano (5 MB su Basic, 10 MB su Pro, 20 MB su Business).

La redazione delle immagini richiede un piano a pagamento?

Sì. La redazione delle immagini richiede un piano Basic o superiore. Il piano gratuito supporta solo l'anonimizzazione del testo.

La redazione è reversibile?

No. La redazione copre la regione rilevata con un riquadro nero opaco direttamente sui pixel dell'immagine — una redazione visiva a senso unico, non una crittografia reversibile come quella offerta dall'anonimizzatore di testo.

Come chiamo direttamente l'API invece di usare l'app web?

Invia una richiesta POST a /api/presidio/image con un token Bearer nell'header Authorization e un corpo multipart/form-data contenente file e mode ("analyze" o "redact"). Consulta la sezione di riferimento API sopra per l'elenco completo dei campi e la forma della risposta.

Prova la redazione delle immagini

Carica una scansione, una foto o uno screenshot e guarda i PII rilevati coperti in pochi secondi.

Apri l'app web

Limitations / Important note

  • OCR-based text extraction is probabilistic; low-quality scans and handwriting lower detection recall.
  • Redaction is a visual, one-way black box over the detected region — not reversible encryption.
  • This page is informational and is not legal advice.

How we measure — our methodology

About this page

We update this page when our platform or the law changes.

Read our founder note for how we work.

Each change shows up in the timestamp at the top.

We follow these rules

  • GDPR (EU 2016/679).
  • ISO/IEC 27001:2022, held by our hosting provider.
  • NIS2 (EU 2022/2555).
  • HIPAA safe harbor under 45 CFR § 164.514(b)(2).

Our promise

We do not sell your data.

We do not train models on your text.

We store your files in Germany.

You can delete your account at any time.

You own your work.

Where we run

Our company HQ is in Saarbrücken, Germany. Our servers run in Hetzner's Falkenstein datacenter.

Hetzner holds ISO 27001 certification.

All data stays in the EU.

Backups run every day.

Need help?

Email support@anonym.legal.

We reply within one business day.

How we test

Automated checks run on every release.

Each surface gets its own sweep script and report.

Human reviewers spot-check the output each week.

We test detection against sample documents before each release.

A failing unit or integration run stops the release.

What we never do

  • We never sell your information to third parties.
  • We never train models on what you upload.
  • We never keep your work after you delete it.
  • We never share keys with any outside firm.
  • We never run ads inside the product.

Plans in plain words

We sell credits, not seats.

One credit covers one short job.

Long jobs use a few credits each.

Paid plans can buy top-up credits.

Credits reset at the end of each cycle.

Read the plans page for current rates.

Who built this

A small team of engineers and lawyers built this.

We ship from Europe and work in the open.

Our founder note spells out why we started.

Where to start

How the parts fit

A browser add-on cleans text inside Chrome.

A Word plug-in handles drafts in Office.

A small desktop tool works on whole folders.

An agent protocol link feeds large models safely.

All four share one core engine and one rule set.

Words from our team

We started this work after a lunch about cookies.

One friend kept getting odd ads on her phone.

We asked why a court file leaked through a draft.

We sketched the first build on a napkin that week.

By month three we had a tiny demo for a friend.

She used it on her first case the next day.

Common questions we hear

Can the tool read scanned PDFs? Yes, with OCR.

Does it work on long files? Yes, in small chunks.

Can I roll my own rule set? Yes, save it as a preset.

Does it run offline? The desktop build runs offline.

Do you keep my files? No, the cloud build wipes after each run.

Will it learn from my work? No, we never train on inputs.

A short tour of the workflow

Upload a file or paste a snippet of prose.

Pick the entities you want gone from the draft.

Choose a method: replace, mask, hash, encrypt, or redact.

Press run and watch the side panel show each hit.

Skim the result and tweak any rule that misfired.

Save the cleaned file or send it to a teammate.