Product · CompressAI

Smaller. Cleaner.
No cloud.

CompressAI slims down the document archive of your FileMaker database: scanned PDFs and images are compressed, Outlook e-mails are converted into readable PDFs with their attachments extracted, and duplicates are detected by checksum.

Everything runs locally on your server, so your documents never leave the building.

92% smaller: a scanned 59 MB PDF down to 4.8 MB —
measured, depending on the source
150k+ attachments — the pipeline was built
for archives of this magnitude
0 cloud uploads — processing happens
entirely on your own server
100% traceable — checksum, log and
originals are preserved

Why slim down

The archive grows.
The database suffers.

Mature FileMaker databases collect tens of thousands of attachments over the years: scans at 300–600 dpi, e-mails as opaque .msg blobs, files stored multiple times. That makes backups slow, storage expensive and the archive hard to oversee.

CompressAI cleans up, and it is deliberately non-destructive about it.

  • Never worse: if a file does not get smaller, the original remains untouched
  • E-mail originals are archived, never deleted
  • Duplicates are flagged, and deletion only happens on your decision
  • Every step logged, with checksum and timestamp

What CompressAI processes

From scans to the Outlook inbox.

One HTTP call per file is enough. CompressAI detects the type automatically and picks the right treatment.

01

Scanned PDFs

High-resolution scans with uncompressed layers are reduced in two stages. And there is a safety net: if the result is not smaller, the original stays.

  • Two-stage compression with automatic fallback
  • Measured: a 59 MB scanned PDF → 4.8 MB
  • Already optimised PDFs are left untouched
02

Outlook e-mails (.msg / .eml)

Opaque mail blobs become readable PDF documents with sender, recipients, date and subject. Every attachment is extracted as its own file.

  • E-mail as a readable PDF with a traceability footer
  • Attachments extracted individually and compressed in the same pass
  • Signature logos and tracking pixels get filtered out automatically
  • The original .msg file is kept in a local archive
03

Images & photos

Field photos and scanned receipts are brought down to a sensible size: measured up to 99% smaller, with readability intact.

  • Downsized to a practical resolution
  • Measured: a 19 MB photo → 0.26 MB
  • Here too: never worse than the original
04

Duplicate detection

Every file gets a SHA256 checksum. Identical content is recognised even under a different file name, which is the basis for a clean archive.

  • Detection by content, not by file name
  • Duplicates are flagged, never deleted automatically
  • Clear status for each record: processed, error or duplicate

In preparation: OCR text recognition and AI-assisted classification, which will turn the slimmed-down archive into a searchable one.

Privacy

Your documents never leave the building.

Contracts, receipts, e-mails: archive content is often highly sensitive. Cloud compressors send all of it to third-party servers. CompressAI runs entirely on your own machine.

Local processing

The service listens only locally on your server: no external access, no uploads, no third-party APIs.

GDPR without contortions

If no data leaves the building, the privacy assessment stays simple: no US services, no transfers, no consent chains.

Originals are preserved

E-mail originals go into a local archive, sorted neatly by year and month. Duplicates are only flagged; nothing is lost.

Full traceability

A SHA256 checksum for every file, a processing footer in each e-mail PDF, structured logs with sizes and durations.

Honestly: already optimised PDFs barely shrink. They simply remain unchanged.

Included in the service

One pipeline, everything handled.

CompressAI runs as a lean background service next to your FileMaker Server. These building blocks are included as standard.

PDF compression

two-stage via Ghostscript, with a safety net

E-mail pipeline

.msg and .eml → readable PDF plus attachments

Image optimisation

downsize and re-encode, never worse

Duplicate check

SHA256 by content, in record context

Inline filter

signature logos and tracking pixels sorted out

Local archive

original mails filed by year and month

FileMaker link

one HTTP call per file, JSON back

Logs

every run logged with size and duration

Built for large collections: the pipeline was designed to migrate an archive of roughly 158,000 attachments, in stages and with a clear status per record.

Technology

Proven tools, wired up properly.

CompressAI is a lean local service (Python/FastAPI) running next to your FileMaker Server: FileMaker exports a file, calls the service via HTTP and gets structured JSON back, with the compressed file, the checksum and the extracted attachments.

Compression relies on proven tools such as Ghostscript, deterministic and predictable. In preparation: OCR text recognition and AI-assisted classification, so the slimmed-down archive becomes searchable as well.

  • One endpoint for everything. The file type is detected automatically.
  • Stateless: no database of its own and no lock-in.
  • Runs as a background service and starts automatically
  • FileMaker scripting integration guide included
  • Browser test interface for the first steps

Frequently asked questions

Do my documents go to the cloud?

No. CompressAI runs entirely on your own server and only listens locally. No uploads, no external APIs and no cloud dependency.

Can anything be lost during compression?

The system is deliberately non-destructive: if a file does not get smaller, the original stays untouched. E-mail originals are archived, duplicates are only flagged. Deletion happens only on your decision.

How much smaller do files really get?

It depends on the source material. What we measured: a 59 MB scan shrank by 92%, a 19 MB photo by 99%. Already optimised PDFs, on the other hand, barely shrink, and then simply remain unchanged.

Does it only work with FileMaker?

A ready-made integration currently exists for FileMaker (via scripting and HTTP calls). The service itself is an open HTTP interface, so other systems can be connected. Talk to us.

Are the compressed PDFs searchable?

Scanned PDFs remain images. OCR text recognition is planned as the next expansion step; today, CompressAI delivers readable e-mail PDFs and much smaller scans.

Is there AI inside CompressAI?

The compression itself is deliberately deterministic: proven tools, predictable results, and no model ever sees your documents. The AI expansion (OCR, automatic classification) is in preparation, while CompressAI itself is developed AI-assisted throughout.

Getting started & contact

How much air is in your archive?

CompressAI is currently being built in production use, migrating an archive of roughly 158,000 attachments, and it can be adapted to your FileMaker installation. Tell us about your database and we will tell you honestly what slimming it down would achieve.

CompressAI is a software product by Pabeschitz Computer Consulting GmbH. Compression results depend on the source material; processing happens entirely locally on your infrastructure.