Skip to content

Commit d78f585

Browse files
authoredApr 9, 2024··
Fix encoding example (#86)
1 parent 5980826 commit d78f585

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ ds = dcmread(get_testdata_file("CT_small.dcm"))
140140

141141
# Encode in-place using RLE Lossless and update the dataset
142142
# Updates the Pixel Data, Transfer Syntax UID and Planar Configuration
143-
ds.compress(uid)
143+
ds.compress(RLELossless)
144144

145145
# Save compressed
146146
ds.save_as("CT_small_rle.dcm")

0 commit comments

Comments
 (0)
Please sign in to comment.