Skip to content

Commit

Permalink
version bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Sandip117 committed Aug 29, 2024
1 parent 9bae269 commit ce31274
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions dicommake.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,10 +19,8 @@
from PIL import Image
import numpy as np
from loguru import logger
from pydicom.uid import ExplicitVRLittleEndian,JPEG2000, JPEG2000Lossless
import pylibjpeg
from pydicom.uid import RLELossless
from pydicom.encaps import encapsulate
from pydicom.uid import ExplicitVRLittleEndian,RLELossless

LOG = logger.debug
logger_format = (
"<green>{time:YYYY-MM-DD HH:mm:ss}</green> │ "
Expand All @@ -38,7 +36,7 @@



__version__ = '2.3.2'
__version__ = '2.3.3'

DISPLAY_TITLE = r"""
_ _ _ _
Expand Down Expand Up @@ -152,7 +150,7 @@ def npimage_get(image):
# file itself isn't compressed, saving it as a DICOM file would throw error.
# The below fix handles this.
# We change the transfer syntax UID (https://github.com/pydicom/pydicom/issues/1109)
ds.PixelData = np_image.tobytes()
ds.PixelData = np_image.tobytes()
ds.file_meta.TransferSyntaxUID = ExplicitVRLittleEndian
ds.AcquisitionTime = AcquisitionTime()
ds.AcquisitionDate = AcquisitionDate()
Expand Down

0 comments on commit ce31274

Please sign in to comment.