By · Last updated 2026-08-12

Bahay/Dokumentasyon/breadcrumb.imageRedaction
Bumalik sa Dokumentasyon

Image Redaction — Gabay sa Paggamit

Tukuyin at takpan ang personal na data sa loob ng mga scan, larawan, at screenshot. Dinadaanan ng gabay na ito ang upload, analyze, redact, at download workflow, ang mga limitasyon sa size at format, ang suporta sa wika ng OCR, at ang API call sa likod nito.

Workflow: mag-upload, mag-analyze, mag-redact, mag-download

Ang bawat larawan ay dumadaan sa parehong apat na hakbang, gamitin man ang web app, tawagan nang direkta ang API, o gamitin ang anonym_legal_redact_image tool sa pamamagitan ng MCP server.

1. Mag-upload

Pumili ng PNG o JPG file. Sinusuri ng app ang uri at laki ng file laban sa upload limit ng iyong plano bago magpadala ng anuman sa server.

2. Mag-analyze

Binabasa ng OCR (Tesseract) ang teksto sa larawan at itinatala kung saan matatagpuan ang bawat piraso ng teksto. Ang na-extract na tekstong iyon ay dumadaan sa parehong PII detector na ginagamit para sa mga dokumento, na nagbabalik ng mga natukoy na entity at ng kanilang posisyon — wala pang na-redact sa puntong ito.

3. I-redact

Ulitin ang kahilingan na naka-set ang mode sa "redact" upang takpan ang bawat natukoy na rehiyon ng solidong itim na kahon na iginuhit direkta sa mga pixel ng larawan. Ito ay isang one-way na visual redaction, hindi isang nababaligtad na encryption.

4. I-download

Ang na-redact na larawan ay ibinabalik bilang file (PNG o ang orihinal na content type) na ise-save mo nang lokal — walang naiiwan sa server pagkatapos maipadala ang response.

Mga limitasyon sa size at pixel

  • PNG at JPG (JPEG) lamang ang suportado. Ang ibang raster formats tulad ng TIFF, BMP, WebP, at GIF ay hindi pa kasalukuyang suportado.
  • Ang mga larawan ay may limitasyong 20 MB sa server-side. Maaaring mas mababa ang sariling limitasyon ng iyong plano — ang Basic plan ay may upload cap na 5 MB (Pro 10 MB, Business 20 MB); hindi kasama ang image redaction sa free plan.
  • Ang kabuuang resolution (lapad × taas) ay may limitasyong 150 megapixels. Tinatanggihan ang mga upload na higit dito bago pa man iproseso.

Suporta sa wika ng OCR

Ang OCR ay tumatakbo sa Tesseract. Tumatanggap ang language field ng API ng ISO 639-1 code (default ay "en" para sa English) na naka-mapa sa isang Tesseract language pack — mga tatlumpung wika ang naka-mapa, kasama ang German, French, Spanish, Italian, Portuguese, Dutch, Polish, Russian, Ukrainian, Arabic, Hebrew, Hindi, Japanese, Korean, Chinese, Thai, Vietnamese, at Turkish. Ang aktwal na availability ay nakadepende sa kung aling mga Tesseract pack ang naka-install sa OCR host; ang wikang hindi available ay babalik sa English.

API reference

Available ang image redaction nang direkta sa pamamagitan ng API para sa mga integrasyon na hindi dumadaan sa web app, at sa pamamagitan ng MCP server bilang anonym_legal_redact_image tool (mode na "analyze" o "redact") para sa mga MCP client tulad ng Claude.

POST /api/presidio/image

Authentication: Mag-authenticate gamit ang Bearer token sa Authorization header (isang API token o isang authenticated session, tulad din ng text-analysis endpoints). Ang mga kahilingan na walang wastong token ay magbabalik ng 401.

Request body: Magpadala ng multipart/form-data body. Mga kinakailangang field: file (ang PNG o JPG na larawan) at mode ("analyze" o "redact"). Mga opsyonal na field: language (ISO 639-1 OCR language code, default "en"), entities (JSON array ng mga uri ng entity na gustong i-restrict ang detection), score_threshold, at fill_color (redact mode lamang, default "black"), operator (redact mode only: "redact" | "replace" | "mask", default "redact"), and mask_char (redact mode with operator="mask" only, default "*").

Response: Sa analyze mode, ang response ay JSON: ang mga natukoy na entity (uri, posisyon ng teksto, at confidence score) kasama ang tokens_charged field. Sa redact mode, ang response ay ang na-redact na larawan mismo (binary, Content-Type image/png o ang orihinal na uri) kasama ang token cost na ibinabalik sa X-Tokens-Charged header.

FAQ

Aling mga image format ang suportado?

PNG at JPG (JPEG) lamang. Ang ibang raster formats tulad ng TIFF, BMP, WebP, at GIF ay hindi pa kasalukuyang suportado.

Ano ang mga limitasyon sa size at resolution?

20 MB at 150 megapixels na kabuuang resolution, na may karagdagang limitasyon mula sa sariling upload limit ng iyong plano (5 MB sa Basic, 10 MB sa Pro, 20 MB sa Business).

Nangangailangan ba ng bayad na plano ang image redaction?

Oo. Nangangailangan ang image redaction ng Basic plan o mas mataas. Ang free plan ay sumusuporta lamang sa text anonymization.

Nababaligtad ba ang redaction?

Hindi. Tinatakpan ng redaction ang natukoy na rehiyon ng opaque na itim na kahon direkta sa mga pixel ng larawan — isang one-way na visual redaction, hindi nababaligtad na encryption tulad ng inaalok ng text anonymizer.

Paano ko direktang tatawagin ang API sa halip na gamitin ang web app?

Magpadala ng POST request sa /api/presidio/image na may Bearer token sa Authorization header at multipart/form-data body na naglalaman ng file at mode ("analyze" o "redact"). Tingnan ang API reference section sa itaas para sa buong listahan ng field at anyo ng response.

Subukan ang image redaction

Mag-upload ng scan, larawan, o screenshot at makita ang natukoy na PII na natakpan sa loob ng ilang segundo.

Buksan ang web app

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.