# pydicom.pixels.get_encoder

pydicom.pixels.get_encoder(uid: str) → Encoder

  Return the pixel data encoder corresponding to uid.

  Added in version 2.2.

  Transfer Syntax | Version added
  --- | ---
  Name | UID
  JPEG-LS Lossless | 1.2.840.10008.1.2.4.80 | 3.0
  JPEG-LS Near Lossless | 1.2.840.10008.1.2.4.81 | 3.0
  JPEG 2000 Lossless | 1.2.840.10008.1.2.4.90 | 3.0
  JPEG 2000 | 1.2.840.10008.1.2.4.91 | 3.0
  RLE Lossless | 1.2.840.10008.1.2.5 | 2.2