Orthanc storage compression and ingest transcoding

Orthanc storage compression and ingest transcoding decide how much disk your DICOM archive uses and what viewers receive. This page explains the trade-offs, failure paths and reprocessing steps before you change a production archive.

On this page

Orthanc storage compression and when an archive needs it

An archive that grows faster than its disks is the usual reason to look at how Orthanc stores DICOM files, but shrinking an archive involves more than one setting. Orthanc offers two routes that reduce file size at different points: compressed storage, controlled by the StorageCompression configuration key, and transcoding at ingest, which converts incoming instances to another transfer syntax before they are written. Both can lower the footprint of a study, and both change the bytes that viewers, modalities and downstream tools later receive. The decision therefore belongs to the team that owns clinical image access as well as to the storage administrator, and it should be made before large volumes of data accumulate under one approach.

The Orthanc Book describes compressed storage and transcoding as separate features with different effects, so read both before testing. Orthanc 1.13.0, released on 2026-08-15, rewrote storage-area access, DICOM parsing and transcoding to improve caching and reduce memory use. Its Orthanc NEWS file is the place to check what changed. That rewrite is why results from an earlier release should not be assumed to hold. Read latency, memory use and CPU load for compressed or transcoded files may differ between 1.12.x and 1.13.0, and so may the behavior when existing studies are reprocessed. Test on the exact version and container image you plan to run, using copies of representative studies from each modality in your archive.

Before choosing, confirm several points with the vendor documentation and in your own environment. Check whether each viewer and modality you rely on accepts the transfer syntax you would produce, how much space each option saves on your actual data, and what happens to the original file if a transcode fails. Those answers determine whether the added CPU work and operational risk are justified for your archive. The sibling sections on failure handling, viewer compatibility and Housekeeper reprocessing assume you have already made this decision, so settle it with measured results rather than assumptions.

StorageCompression versus lossless transcoding at ingest

This table compares Orthanc's StorageCompression setting with lossless transcoding at ingest across storage, delivery, retrieval and fit. Read each row as a question to confirm in the Orthanc Book for your exact version, because defaults and behavior can change between releases.

Decision pointStorageCompressionLossless transcoding at ingest
What changes on diskFiles are stored compressed by Orthanc, while the DICOM content it serves is unchanged in meaning. Confirm the compression method and file layout in the Orthanc Book for your version.Instances are converted to a different lossless transfer syntax before they are stored, so the stored file is the transcoded object. Confirm which syntaxes your configuration accepts.
What viewers and modalities receiveClients receive the original transfer syntax on retrieval because Orthanc decompresses the stored copy as needed. Confirm the behavior for each client you use.Clients receive the stored transfer syntax unless a retrieval request asks for another one. Viewers that do not support the chosen syntax may fail to display the study.
Effect on retrieval and re-exportRetrieval and C-STORE forwarding may take extra CPU for decompression. Check the cost on your largest studies before rollout.Re-export to a peer that expects the original syntax may need a transcoding step. Plan peer compatibility before enabling it.
Behavior when conversion failsCompression failures are less likely to change the stored object, but confirm how Orthanc logs and handles errors for your version.A failed transcoding step can reject or delay an instance at ingest. Confirm the configured error behavior and what the sender receives.
ReversibilityConfirm whether disabling the setting affects existing files and how stored compressed files are read back.Reverting requires transcoding stored instances again. Plan the reprocessing effort before changing the target syntax.
Reprocessing existing studiesConfirm whether the Housekeeper or another mechanism is needed to apply compression to files already stored.Existing studies stay in their original syntax unless reprocessed. Confirm how the Housekeeper handles transcoding for stored instances.
When each fitsFits archives where the main goal is lower disk use and clients support the original syntax on retrieval.Fits sites that need one standard syntax for downstream systems and have confirmed viewer and peer support.

What happens when transcoding fails at ingest

Transcoding failure at ingest is a design question before it is an operations question. Three failure paths need an explicit decision: an instance that cannot be transcoded, a study that arrives only partly processed, and errors that never reach the people who need them. Orthanc 1.13.0 was released on 2026-08-15 with a rewrite of DICOM parsing and transcoding, so the behavior you rely on should be checked against the exact version you run, not carried over from older notes. For each path, confirm in the Orthanc Book and with the vendor whether the failing instance is stored in its original transfer syntax, rejected, or stored in some other state, and whether the sending modality is told about the outcome.

A partially processed study is the failure most likely to reach clinical staff unnoticed. Send a study with a mix of ordinary and difficult instances and record what happens to each one: how many are stored, what status the sending device receives, and whether the study appears in queries, the web viewer and the REST API with missing images. Then test a retry from the modality to see whether instances already stored are duplicated or skipped. Build the sample set from your own modalities, including multiframe, encapsulated pixel data, unusual transfer syntaxes, and truncated or damaged files, because synthetic test files rarely reproduce the vendor-specific quirks that cause real failures.

Errors surface in two places: the Orthanc log and the REST API. Check which log level records a failed transcoding, whether the log line identifies the instance and study, and whether the REST API exposes the failure in a way a monitoring job can query. Confirm these points against the Orthanc Book and your version's release notes, not only against a test you ran once. The outcome should be a written runbook that states who sees each failure, how a failed instance is found again, and how it is resent or reprocessed. Without that runbook, a compression setting can quietly leave gaps in an archive that teams only discover when a radiologist cannot open a study.

How an instance moves through ingest, transcoding and storage

The diagram starts at a modality or DICOM peer that sends an instance with C-STORE. Orthanc receives it and decides whether to transcode at ingest. A lossless transcode runs in the storage and transcoding area that Orthanc 1.13.0 rewrote, then the file is written to the storage area and the index database is updated. If transcoding fails, the instance should stay in a state you can recover, so confirm the exact behavior for your version in the Orthanc documentation. The Housekeeper path shows where existing studies re-enter the transcoding step.

Ingest, transcoding and storage in Orthanc 1.13.0, with the Housekeeper reprocessing path.

Choosing an approach by archive and viewer situation

A clinical archive should assume the stored file is the file the modality sent. Lossless transcoding at ingest or StorageCompression changes the bytes that come back out, so the team must decide which transfer syntaxes must be returned unchanged to PACS, reporting systems and any AI tools that read the archive. This decision belongs with the radiology team and the archive owner, not with the platform team alone.

  • Required return syntaxes: list the transfer syntaxes that downstream PACS, reporting and analysis systems expect, and state whether any of them must match the sender's original file.
  • Forwarding and peer exchanges: confirm whether the archive forwards studies to other sites or to systems that compare files or pixel data.
  • Retention and audit rules: ask whether policy treats the stored file as the record and whether a transformed copy needs a documented retention decision.
  • Clinical viewers: test Orthanc Explorer 2, the Stone Web viewer and the OHIF viewer with the modalities radiologists read daily, including multiframe and large series. The Orthanc plugins list names the official options.

Confirm these points with the radiology team and the archive owner before enabling any ingest change.

Setting up compression and ingest transcoding in order

This sequence moves an Orthanc archive from its current storage behavior to a compressed or transcoded configuration without losing access to studies. Each step ends with a check so the team knows whether to continue, roll back or fix the configuration.

  1. Inventory modalities, peers and viewers

    Before changing anything, list every modality, PACS, DICOM peer and web viewer that sends images to or retrieves images from the Orthanc instance. Record the transfer syntaxes each one accepts and the ones it sends, and note which viewers decode compressed pixel data in the browser. The inventory is complete when every connected system has a named owner and a recorded list of supported transfer syntaxes. Any system that cannot be confirmed should be flagged as a blocker for the transcoding choice.

  2. Back up and measure current storage

    Take a complete backup of the index database and the DICOM storage area, then confirm the backup can be restored on a separate host. Record the current storage footprint, the number of instances and the share of data by modality so that later comparisons are based on measured values. The step is done when a test restore has succeeded and the baseline numbers are written down with the date they were taken. Ask your storage team or vendor to confirm how the backup is consistent while Orthanc is running.

  3. Build a representative test instance

    Install a non-production Orthanc instance using the same major version and database plugin as production, then load a sample of studies that covers each modality, transfer syntax and multi-frame or large series in your archive. Keep the test instance off any production modality routes so no live traffic reaches it. The step is complete when the sample is ingested without errors and the instance reports the expected number of studies. Confirm the Orthanc release notes for the version you plan to run before you test.

  4. Compare StorageCompression and ingest transcoding

    Enable one option on the test instance first: either storage compression, which changes how files are written to the storage area, or lossless transcoding at ingest, which converts incoming instances to a chosen transfer syntax before they are stored. Repeat the sample load for each option and record the storage used, ingest time, memory use and any instances that fail or are rejected. The comparison is finished when you can state which option meets your storage goal without changing what your viewers and peers receive. Confirm with your Orthanc specialist which option the version you run supports for your data types.

  5. Test retrieval and viewer display

    From each system in the inventory, retrieve several test studies using C-STORE, C-MOVE or C-GET, and open the same studies in each web viewer. Check that pixel data displays correctly, that series counts and metadata match the originals, and that the instance checksums or pixel comparisons agree with the source files. Also deliberately send one instance in an unsupported or corrupted form to confirm how Orthanc reports the failure. The step is done when every consumer returns identical images and the failure path produces a clear error and an entry in the logs.

  6. Enable the option in production

    Apply the tested configuration to the production instance during an agreed change window, with the rollback procedure from the backup step ready to run. Watch the first real ingest and retrieval cycle, including logs for transcoding errors and any rejected associations from modalities. The step is complete when new studies are stored and retrieved correctly for a full working cycle and no unexpected errors appear. Keep the previous configuration file so the change can be reversed.

  7. Schedule reprocessing of existing studies

    Only after new ingest is stable, plan the Housekeeper run that reprocesses existing studies, and run it first against a copy or a small subset of the archive. Verify the sample again with the retrieval and viewer checks, then extend the run in stages while monitoring disk space, CPU and database load. The reprocessing schedule is ready when the staged run has completed with no unexpected failures and the remaining batches have a confirmed window and a recorded rollback point. Confirm the Housekeeper behavior for your Orthanc version before the first full run.

Security and data-handling risks of changing stored files

Changing stored files in an Orthanc archive touches patient data at rest, the REST API that controls it and every copy that already exists. The cards below cover the risks a CISO or compliance lead should see before approving a compression or transcoding run, and the checks to confirm in your own environment.

Integrity of transcoded patient files

Lossless transcoding rewrites the DICOM file, so the stored object is no longer byte-identical to what the modality sent. Confirm that the transcoded instance still carries the same patient, study and series identifiers, pixel content and tags your downstream systems rely on. Test a sample of studies from each modality type and compare decoded pixel data against originals before any bulk run. Also confirm what happens to an instance that fails transcoding, so the original is never silently removed.

Orthanc security FAQ

REST API and admin route exposure

Reprocessing existing studies is driven through the REST API, so the account that runs it holds broad write access to the archive. The Orthanc security FAQ says that by default only localhost can reach HTTP, and that AuthenticationEnabled should be true with users in RegisteredUsers when remote access is allowed. Confirm which accounts can call the Housekeeper and transcoding routes, and keep the /tools/execute-script and export routes disabled during the run.

Orthanc security FAQ

Network exposure during reprocessing

Long reprocessing jobs often run from a maintenance host or a remote administration session, which widens the path to the API. The Orthanc Book recommends HTTPS and a reverse proxy for any Internet exposure. Confirm that the reprocessing client reaches Orthanc only over the intended network path, that TLS is enforced end to end, and that DICOM TLS is used for any inter-site exchange of transcoded instances.

Backup copies holding the old format

Backups taken before a compression run keep the original encoding, and so do any replicas or peers that received the instances earlier. Storage compression changes the files on disk, but it does not change those copies. Confirm which backups, mirrors and peers hold each study, how long pre-change backups are retained, and who may restore them. Restoring an old backup can reintroduce uncompressed data into a live archive, so restore procedures should be reviewed alongside the change.

Authorization for the reprocessing account

If the advanced authorization plugin is in use, each REST request's token is sent to an external web service that returns HTTP 403 when access is denied. Confirm that the service policy distinguishes read access from the write and delete permissions a reprocessing job needs. Use a dedicated service identity with the narrowest role that works, and revoke it when the run ends.

Authorization plugin docs

Audit evidence of what changed

A compliance review will ask which studies were changed, when, by which account and with which transfer syntax. Orthanc's own logs and the REST responses are the first sources, but they need to be captured and retained outside the server. Confirm that your log pipeline records each reprocessing request, that failed and skipped instances are listed, and that the record can be matched to the affected study identifiers for the audit period.

Reprocessing existing studies with the Housekeeper

Reprocessing matters when a transcoding or compression setting changes after studies are already stored. Ingest settings only affect instances that arrive afterward, so the existing archive keeps whatever form it was written in. If you want the whole archive to follow a new policy, such as moving older studies to a different transfer syntax, you need a deliberate pass over stored instances. The Housekeeper is the mechanism for working through them, and it should be treated as a planned maintenance job rather than a background setting. Before you start, confirm in the current Orthanc Book how the Housekeeper is invoked and which stored-instance operations it supports in your Orthanc version, since this behavior has changed across releases and the details belong in your own test notes.

Plan the run around four things: the time window, the load it adds, progress visibility and recovery. The time window depends on how many instances must be rewritten and how fast your storage and CPU can decode and encode them, and neither figure is known until you measure it. Run a timed pass on a copy of your archive that matches its size, study mix and storage backend, then extrapolate from that measurement. Expect the job to compete with ingest, C-FIND and WADO retrievals for disk and CPU, so schedule it outside clinical peaks and confirm with your own monitoring that retrieval latency stays acceptable while it runs. Watch the /system endpoint, your logs and storage utilization during the test, and record the rate you observe.

Interruptions are the most common operational risk. A restart, a failed storage write or a full disk can stop the job partway, so the run must be resumable and verifiable. Before the first production pass, confirm that re-running the job skips instances already converted, that a failed instance is logged with its identifier, and that the original files remain available until the new copy is verified. Keep a database and storage backup taken immediately before the run, and check that restored instances open in your viewers. If you use a remote storage plugin, confirm how a partial write is handled there. Record the start time, the count of processed and failed instances, and the rollback procedure in your change ticket so the operator on shift can act without guessing.

Limits to confirm for your Orthanc version and viewers

Compression and transcoding choices depend on the exact Orthanc release, the viewers your radiologists use, the storage plugins behind the archive and the DICOM peers that exchange images with you. Confirm each of these in a test environment before any existing studies are reprocessed, because the cost of a wrong assumption grows with the size of the archive.

Behavior of your exact Orthanc version

Orthanc 1.13.0 was released on 2026-08-15 with a complete rewrite of storage-area access and DICOM parsing and transcoding, aimed at caching and memory use. Read the release notes for the version you plan to run, then test compression and transcoding on a copy of your data with that exact build. Do not assume behavior carries over from 1.12.x, and record the version in your change log so later upgrades can be traced.

Orthanc NEWS file

Orthanc Explorer 2 compatibility

Confirm that Orthanc Explorer 2 displays and retrieves studies whose stored transfer syntax differs from the one originally received. Check preview rendering, multi-frame images and download behavior for compressed instances. Ask the vendor or test directly, because the interface behavior depends on the plugin and core versions you deploy together.

Stone Web and OHIF viewer support

Stone Web and OHIF each decode DICOM in the browser and may support different transfer syntaxes. Load representative compressed studies, including large multi-frame series, in each viewer your radiologists use. Record which syntaxes display correctly and which require the server to return a different encoding, since that conversion adds load at retrieval time.

Third-party viewers and workstations

Any PACS workstation, reading tool or research application that retrieves from Orthanc needs its own syntax test. Build a list of every viewer in use, including older workstations and those installed at affiliated sites. Confirm the supported transfer syntaxes with each vendor in writing, because a viewer that opens a study today may fail after a configuration change.

Advanced Storage and object storage plugins

Compression settings interact with the Advanced Storage plugin, the S3 plugin and the Azure and Google Cloud plugins in ways that depend on version pairing and how files are written. Confirm that each plugin accepts compressed files, that reads and writes round-trip without loss, and that the storage layout still matches your folder and bucket policy. Check whether a plugin lags core releases before you commit to it.

Orthanc plugins list

DICOM peers that need original syntaxes

Some modalities, PACS and external sites accept only the transfer syntaxes they negotiated or originally sent. Before enabling ingest transcoding, list every peer that retrieves or receives from Orthanc and test a C-STORE or C-MOVE of a compressed study with each. Where a peer requires the original encoding, keep an uncompressed copy or configure a path that returns it, and document the exception.

What does Orthanc compression work cost and require?

What drives the cost of an Orthanc compression project?

The main drivers are archive size, the number of modalities, viewers and sites that send or read images, the scope of testing, and the window available for reprocessing existing studies. A small archive with one modality and one viewer is a much smaller piece of work than a hospital archive with dozens of connected systems and years of stored studies. Ongoing costs depend on whether the archive is re-verified after each Orthanc upgrade. Ask any provider for a quote that breaks these drivers out separately, so you can see which ones move the price.

Can our internal team set up Orthanc compression without outside help?

Yes, if your team already runs Orthanc and has staff who can read the Orthanc Book, test DICOM transfers and check viewer behavior. The hard parts are not the configuration keys but the verification: confirming that every modality and viewer you use can read the compressed or transcoded output, and that failed transcodings are caught rather than silently stored. Teams without a DICOM test set, a staging archive or someone who owns the viewer compatibility matrix usually find this slower than expected. Orthanc Team sells deployment and configuration services on request if you want that work done by its developers.

What must our internal team provide before a compression project starts?

Plan to provide the following before any quote can be made accurately:

  • A count and inventory of the Orthanc instances, their current versions and where they store files.
  • A list of modalities, PACS, viewers and remote sites that send, receive or display images, with the transfer syntaxes they support.
  • A representative sample of studies, including modalities that produce unusual formats, for test imports.
  • A staging Orthanc environment that mirrors production, and a named owner for viewer sign-off.
  • Storage capacity figures and the window in which existing studies may be reprocessed.
How long does it take to get a quote for Orthanc compression work?

The time to a quote depends on how quickly your team can supply the inventory described above, since a quote built on guesses about modalities and viewers tends to change later. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, so the quote follows from that written scope. DeployOpen does not publish a price list. Orthanc Team also quotes its services on request, so ask it directly for pricing and timing. No fixed duration is stated here because none has been confirmed for this topic.

What does Orthanc Team charge for services, and what is included?

Orthanc Team SRL sells deployment, configuration and development services, and it offers pre-paid dedicated support hours that are valid for 12 months. Pricing is quoted on request, so there is no published figure to compare against. There is no paid edition of the Orthanc core itself, so the cost is for people's time and support rather than a license. When you request a quote, ask what is covered, how many hours are included, what happens to unused hours at the 12-month limit, and whether reprocessing and viewer testing are part of the scope.

What changes in operations after compression goes live?

After go-live, the recurring work is verification and upkeep. Each Orthanc upgrade, such as the 1.13.0 release dated 2026-08-15 in the Orthanc NEWS file, can change storage and transcoding internals, so compression behavior should be retested in staging before production upgrades. New modalities, viewer versions and remote sites also need a compatibility check before they connect. Monitor for transcoding failures in logs and confirm that the archive size is trending as expected. Decide in advance whether these checks are run by your team or covered by a support arrangement.

What are the main risks of compressing an existing Orthanc archive?

The main risks are reading failures at a viewer or remote site, stored files that cannot be decoded after a transcoding error, and an incomplete reprocessing run that leaves a mix of formats in one archive. Lossless transcoding is intended to keep pixel data identical, but you should still confirm that each system you use reads the output correctly. Take a verified backup before reprocessing, test restores, and keep a record of which studies were processed. Confirm the exact failure behavior for your Orthanc version in the Orthanc Book before you rely on it.

Does compression affect patient data security or compliance obligations?

Compression does not change who can access an archive, but it changes what copies exist and how they are handled. Reprocessing creates new files, so the old files, backups and any staging copies must be covered by the same access, encryption and retention controls. Keep a documented record of the change for your compliance team. DeployOpen prepares systems, controls and evidence for compliance assessments, but it does not issue audit reports or certifications, and independent auditors make those determinations. Confirm your obligations with your compliance lead.

How DeployOpen scopes and delivers Orthanc storage changes

DeployOpen plans, implements, documents and supports self-hosted open-source platforms inside the client's own infrastructure, so compression and ingest transcoding changes for Orthanc run on storage you control. Each engagement starts from a written scope that sets which transfer syntaxes, storage paths and existing studies are in play before any configuration changes.

How we scope

  • Inventory the current ingest sources, modalities and transfer syntaxes that reach the archive today.
  • Agree in writing whether the work uses StorageCompression, ingest transcoding, or both, with the reasons.
  • Define how failed transcodes are handled, logged and reprocessed, and which viewers must still open the archive.

How we build

  • Configure the chosen compression or transcoding settings in a staging Orthanc instance before any production change.
  • Test ingest of representative studies from each modality, checking stored sizes and decoded pixel results.
  • Plan and run Housekeeper reprocessing of existing studies in batches, with a rollback path and verified counts.

How we hand over

  • Deliver configuration files, a runbook for failed transcodes and a list of verified viewer and workflow checks.
  • Document the storage layout and the settings that must stay consistent across Orthanc instances.
  • Walk your operations and imaging IT staff through monitoring, log review and the steps for rerunning failed items.

How we support

  • Engagements are fixed-scope, with deliverables and timelines agreed in writing before work starts.
  • Ongoing support for Orthanc upgrades, which can change storage and parsing behavior, is available as a retainer.
  • Confirm with your team which Orthanc release and plugin versions your archive will run before scoping begins.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.