By · Last updated 2026-08-12

Beranda/Dokumentasi/breadcrumb.imageRedaction
Kembali ke Dokumentasi

Redaksi Gambar — Panduan Penggunaan

Deteksi dan tutupi data pribadi di dalam hasil pindaian, foto, dan tangkapan layar. Panduan ini menjelaskan alur kerja unggah, analisis, redaksi, dan unduh, batas ukuran dan format, dukungan bahasa OCR, dan panggilan API yang mendasarinya.

Alur kerja: unggah, analisis, redaksi, unduh

Setiap gambar melalui empat langkah yang sama, baik Anda menggunakan aplikasi web, memanggil API secara langsung, atau memanggil alat anonym_legal_redact_image melalui server MCP.

1. Unggah

Pilih file PNG atau JPG. Aplikasi memeriksa jenis dan ukuran file terhadap batas unggahan rencana Anda sebelum mengirimkan apa pun ke server.

2. Analisis

OCR (Tesseract) membaca teks dalam gambar dan mencatat posisi setiap bagian teks. Teks yang diekstrak tersebut kemudian diproses melalui detektor PII yang sama dengan yang digunakan untuk dokumen, mengembalikan entitas yang ditemukan beserta posisinya — belum ada yang diredaksi pada tahap ini.

3. Redaksi

Jalankan kembali permintaan dengan mode diatur ke "redact" untuk menutup setiap wilayah yang terdeteksi dengan kotak hitam solid yang digambar langsung pada piksel gambar. Ini adalah redaksi visual satu arah, bukan enkripsi yang dapat dibalik.

4. Unduh

Gambar yang telah diredaksi dikembalikan sebagai file (PNG atau jenis konten aslinya) yang Anda simpan secara lokal — tidak ada yang disimpan di server setelah respons dikirim.

Batas ukuran dan piksel

  • Hanya PNG dan JPG (JPEG) yang didukung. Format raster lain seperti TIFF, BMP, WebP, dan GIF saat ini belum didukung.
  • Gambar dibatasi hingga 20 MB di sisi server. Batas rencana Anda sendiri mungkin lebih rendah — rencana Basic membatasi unggahan hingga 5 MB (Pro 10 MB, Business 20 MB); rencana gratis sama sekali tidak mencakup redaksi gambar.
  • Total resolusi (lebar × tinggi) dibatasi hingga 150 megapiksel. Unggahan di atas batas tersebut ditolak sebelum diproses.

Dukungan bahasa OCR

OCR berjalan di atas Tesseract. Bidang language pada API menerima kode ISO 639-1 (default "en" untuk bahasa Inggris) yang dipetakan ke paket bahasa Tesseract — sekitar tiga lusin bahasa telah dipetakan, termasuk Jerman, Prancis, Spanyol, Italia, Portugis, Belanda, Polandia, Rusia, Ukraina, Arab, Ibrani, Hindi, Jepang, Korea, Cina, Thai, Vietnam, dan Turki. Ketersediaan sebenarnya bergantung pada paket Tesseract mana yang terpasang di host OCR; bahasa yang tidak tersedia akan kembali ke bahasa Inggris.

Referensi API

Redaksi gambar tersedia langsung melalui API untuk integrasi yang tidak melalui aplikasi web, dan melalui server MCP sebagai alat anonym_legal_redact_image (mode "analyze" atau "redact") untuk klien MCP seperti Claude.

POST /api/presidio/image

Authentication: Autentikasi dengan token Bearer di header Authorization (token API atau sesi yang terautentikasi, sama seperti endpoint analisis teks). Permintaan tanpa token yang valid akan mengembalikan 401.

Request body: Kirim body multipart/form-data. Bidang wajib: file (gambar PNG atau JPG) dan mode ("analyze" atau "redact"). Bidang opsional: language (kode bahasa OCR ISO 639-1, default "en"), entities (array JSON jenis entitas untuk membatasi deteksi), score_threshold, dan fill_color (hanya mode redact, default "black"), operator (redact mode only: "redact" | "replace" | "mask", default "redact"), and mask_char (redact mode with operator="mask" only, default "*").

Response: Dalam mode analyze, respons berupa JSON: entitas yang terdeteksi (jenis, posisi teks, dan skor kepercayaan) ditambah bidang tokens_charged. Dalam mode redact, respons adalah gambar yang telah diredaksi itu sendiri (biner, Content-Type image/png atau jenis aslinya) dengan biaya token dikembalikan pada header X-Tokens-Charged.

FAQ

Format gambar apa saja yang didukung?

Hanya PNG dan JPG (JPEG). Format raster lain seperti TIFF, BMP, WebP, dan GIF saat ini belum didukung.

Apa saja batas ukuran dan resolusi?

20 MB dan total resolusi 150 megapiksel, dibatasi lebih lanjut oleh batas unggahan rencana Anda sendiri (5 MB pada Basic, 10 MB pada Pro, 20 MB pada Business).

Apakah redaksi gambar memerlukan rencana berbayar?

Ya. Redaksi gambar memerlukan rencana Basic atau lebih tinggi. Rencana gratis hanya mendukung anonimisasi teks.

Apakah redaksi ini dapat dibalik?

Tidak. Redaksi menutup wilayah yang terdeteksi dengan kotak hitam buram langsung pada piksel gambar — redaksi visual satu arah, bukan enkripsi yang dapat dibalik seperti yang ditawarkan oleh anonymizer teks.

Bagaimana cara memanggil API secara langsung alih-alih menggunakan aplikasi web?

Kirim permintaan POST ke /api/presidio/image dengan token Bearer di header Authorization dan body multipart/form-data berisi file dan mode ("analyze" atau "redact"). Lihat bagian referensi API di atas untuk daftar bidang lengkap dan bentuk respons.

Coba redaksi gambar

Unggah hasil pindaian, foto, atau tangkapan layar dan lihat PII yang terdeteksi tertutup dalam hitungan detik.

Buka aplikasi 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.