From d78f585e3fa2db62dfa436cea30c00ea39da88c2 Mon Sep 17 00:00:00 2001 From: SiamoTuttiAntiMarco <114357684+SiamoTuttiAntiMarco@users.noreply.github.com> Date: Tue, 9 Apr 2024 23:20:53 +0200 Subject: [PATCH] Fix encoding example (#86) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 745d06a..608fc9c 100644 --- a/README.md +++ b/README.md @@ -140,7 +140,7 @@ ds = dcmread(get_testdata_file("CT_small.dcm")) # Encode in-place using RLE Lossless and update the dataset # Updates the Pixel Data, Transfer Syntax UID and Planar Configuration -ds.compress(uid) +ds.compress(RLELossless) # Save compressed ds.save_as("CT_small_rle.dcm")