diff --git a/README.md b/README.md
index e0fe70308..ea2f88310 100644
--- a/README.md
+++ b/README.md
@@ -7,7 +7,7 @@ pydicom
 [![codecov](https://codecov.io/gh/pydicom/pydicom/branch/master/graph/badge.svg)](https://codecov.io/gh/pydicom/pydicom)
 [![Python version](https://img.shields.io/pypi/pyversions/pydicom.svg)](https://img.shields.io/pypi/pyversions/pydicom.svg)
 [![PyPI version](https://badge.fury.io/py/pydicom.svg)](https://badge.fury.io/py/pydicom)
-[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.1450666.svg)](https://doi.org/10.5281/zenodo.1450666)
+[![DOI](https://zenodo.org/badge/DOI/10.5281/zenodo.2541240.svg)](https://doi.org/10.5281/zenodo.2541240)
 
 pydicom is a pure python package for working with [DICOM](http://medical.nema.org/) files.
 It was made for inspecting and modifying DICOM data in an easy "pythonic" way.
diff --git a/doc/whatsnew/v1.3.0.rst b/doc/whatsnew/v1.3.0.rst
index 5675aa8dd..1f6074a8d 100644
--- a/doc/whatsnew/v1.3.0.rst
+++ b/doc/whatsnew/v1.3.0.rst
@@ -28,7 +28,9 @@ Enhancements
 
 Fixes
 .....
-
+* Do not raise while resolving an ambiguous VR dependent on
+  `PixelRepresentation` if both `PixelRepresentation` and `PixelData` are
+  not present (:issue:`838`)
 * Raise exception with specific message if value is too large to be written
   in explicit transfer syntax (:issue:`757`)
 * Do not derive `Dataset` from `dict` - fixes behavior in newer Python versions
diff --git a/pydicom/filewriter.py b/pydicom/filewriter.py
index 23ab57f09..c0bb8cb58 100644
--- a/pydicom/filewriter.py
+++ b/pydicom/filewriter.py
@@ -72,7 +72,10 @@ def _correct_ambiguous_vr_element(elem, ds, is_little_endian):
         # PixelRepresentation is usually set in the root dataset
         while 'PixelRepresentation' not in ds and ds.parent:
             ds = ds.parent
-        if ds.PixelRepresentation == 0:
+        # if no pixel data is present, none if these tags is used,
+        # so we can just ignore a missing PixelRepresentation in this case
+        if ('PixelRepresentation' not in ds and 'PixelData' not in ds or
+                ds.PixelRepresentation == 0):
             elem.VR = 'US'
             byte_type = 'H'
         else:

Ambiguous VR element could be read in <=1.1.0 but is broken in >=1.2.0
<!-- Instructions For Filing a Bug: https://github.com/pydicom/pydicom/blob/master/CONTRIBUTING.md#filing-bugs -->

#### Description
Attribute Error thrown when printing (0x0028, 0x0120) PixelPaddingValue

#### Steps/Code to Reproduce
Using pydicom 1.2.2 and above (including master branch as of issue creation date):
```
from pydicom import dcmread

ds = dcmread('rtss.dcm')
ds

Exception in thread Thread-1:
Traceback (most recent call last):
  File "/Users/apanchal/Projects/venvs/dicom/lib/python3.7/site-packages/pydicom/filewriter.py", line 157, in correct_ambiguous_vr_element
    _correct_ambiguous_vr_element(elem, ds, is_little_endian)
  File "/Users/apanchal/Projects/venvs/dicom/lib/python3.7/site-packages/pydicom/filewriter.py", line 75, in _correct_ambiguous_vr_element
    if ds.PixelRepresentation == 0:
  File "/Users/apanchal/Projects/venvs/dicom/lib/python3.7/site-packages/pydicom/dataset.py", line 711, in __getattr__
    return super(Dataset, self).__getattribute__(name)
AttributeError: 'FileDataset' object has no attribute 'PixelRepresentation'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 917, in _bootstrap_inner
    self.run()
  File "/usr/local/Cellar/python/3.7.0/Frameworks/Python.framework/Versions/3.7/lib/python3.7/threading.py", line 865, in run
    self._target(*self._args, **self._kwargs)
  File "/Users/apanchal/Projects/test.py", line 107, in processing_thread
    dp.ds, name, patientid, patientdob)
  File "/Users/apanchal/Projects/test.py", line 144, in UpdateElements
    for item in data:
  File "/Users/apanchal/Projects/venvs/dicom/lib/python3.7/site-packages/pydicom/dataset.py", line 1045, in __iter__
    yield self[tag]
  File "/Users/apanchal/Projects/venvs/dicom/lib/python3.7/site-packages/pydicom/dataset.py", line 805, in __getitem__
    self[tag], self, data_elem[6])
  File "/Users/apanchal/Projects/venvs/dicom/lib/python3.7/site-packages/pydicom/filewriter.py", line 161, in correct_ambiguous_vr_element
    raise AttributeError(reason)
AttributeError: Failed to resolve ambiguous VR for tag (0028, 0120): 'FileDataset' object has no attribute 'PixelRepresentation'
```

Anonymized RTSTRUCT file is attached: [RTSTRUCT.zip](https://github.com/pydicom/pydicom/files/3124625/RTSTRUCT.zip)

#### Expected Results
The dataset is printed. This worked in pydicom 1.1.0 and below.

Since `PixelRepresentation` is not defined in the dataset, this attribute cannot be printed anymore.

What's strange is that according to the standard PixelPaddingValue (0028, 0120) is 1C for RTSTRUCT, but in this file it has no other tags referencing PixelData. So it probably should not have been included by the vendor.

I am wondering if there should be another path like in #809 that can handle the missing PixelRepresentation attribute.

#### Actual Results
```AttributeError: Failed to resolve ambiguous VR for tag (0028, 0120): 'FileDataset' object has no attribute 'PixelRepresentation'```

#### Versions
```
Darwin-17.7.0-x86_64-i386-64bit
Python 3.7.0 (default, Jul 23 2018, 20:22:55) 
[Clang 9.1.0 (clang-902.0.39.2)]
pydicom 1.2.2
```
diff --git a/pydicom/tests/test_filewriter.py b/pydicom/tests/test_filewriter.py
index ea77c15ed..0a4ba3ee3 100644
--- a/pydicom/tests/test_filewriter.py
+++ b/pydicom/tests/test_filewriter.py
@@ -671,9 +671,15 @@ class TestCorrectAmbiguousVR(object):
         assert 1 == ds.SmallestValidPixelValue
         assert 'SS' == ds[0x00280104].VR
 
-        # If no PixelRepresentation AttributeError shall be raised
+        # If no PixelRepresentation and no PixelData is present 'US' is set
         ref_ds = Dataset()
         ref_ds.SmallestValidPixelValue = b'\x00\x01'  # Big endian 1
+        ds = correct_ambiguous_vr(deepcopy(ref_ds), True)
+        assert 'US' == ds[0x00280104].VR
+
+        # If no PixelRepresentation but PixelData is present
+        # AttributeError shall be raised
+        ref_ds.PixelData = b'123'
         with pytest.raises(AttributeError,
                            match=r"Failed to resolve ambiguous VR for tag "
                                  r"\(0028, 0104\):.* 'PixelRepresentation'"):
@@ -697,9 +703,14 @@ class TestCorrectAmbiguousVR(object):
         assert [256, 1, 16] == ds.LUTDescriptor
         assert 'SS' == ds[0x00283002].VR
 
-        # If no PixelRepresentation AttributeError shall be raised
+        # If no PixelRepresentation and no PixelData is present 'US' is set
         ref_ds = Dataset()
         ref_ds.LUTDescriptor = b'\x01\x00\x00\x01\x00\x10'
+        ds = correct_ambiguous_vr(deepcopy(ref_ds), True)
+        assert 'US' == ds[0x00283002].VR
+
+        # If no PixelRepresentation AttributeError shall be raised
+        ref_ds.PixelData = b'123'
         with pytest.raises(AttributeError,
                            match=r"Failed to resolve ambiguous VR for tag "
                                  r"\(0028, 3002\):.* 'PixelRepresentation'"):
@@ -928,6 +939,13 @@ class TestCorrectAmbiguousVRElement(object):
         """Test correct ambiguous US/SS element"""
         ds = Dataset()
         ds.PixelPaddingValue = b'\xfe\xff'
+        out = correct_ambiguous_vr_element(ds[0x00280120], ds, True)
+        # assume US if PixelData is not set
+        assert 'US' == out.VR
+
+        ds = Dataset()
+        ds.PixelPaddingValue = b'\xfe\xff'
+        ds.PixelData = b'3456'
         with pytest.raises(AttributeError,
                            match=r"Failed to resolve ambiguous VR for tag "
                                  r"\(0028, 0120\):.* 'PixelRepresentation'"):

pip install -e .
parse_log_pytest
requirements.txt
pytest pytest-cov
3.6
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
attrs==22.2.0
certifi==2021.5.30
coverage==6.2
importlib-metadata==4.8.3
iniconfig==1.1.1
packaging==21.3
pluggy==1.0.0
py==1.11.0
-e git+https://github.com/pydicom/pydicom.git@da9e0df8da28a35596f830379341a379de8ac439#egg=pydicom
pyparsing==3.1.4
pytest==7.0.1
pytest-cov==4.0.0
tomli==1.2.3
typing_extensions==4.1.1
zipp==3.6.0

name: pydicom
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - certifi=2021.5.30=py36h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.3=he6710b0_2
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=1.1.1w=h7f8727e_0
  - pip=21.2.2=py36h06a4308_0
  - python=3.6.13=h12debd9_1
  - readline=8.2=h5eee18b_0
  - setuptools=58.0.4=py36h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - wheel=0.37.1=pyhd3eb1b0_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - attrs==22.2.0
      - coverage==6.2
      - importlib-metadata==4.8.3
      - iniconfig==1.1.1
      - packaging==21.3
      - pluggy==1.0.0
      - py==1.11.0
      - pyparsing==3.1.4
      - pytest==7.0.1
      - pytest-cov==4.0.0
      - tomli==1.2.3
      - typing-extensions==4.1.1
      - zipp==3.6.0
prefix: /opt/conda/envs/pydicom

pydicom/tests/test_filewriter.py::TestCorrectAmbiguousVR::test_pixel_representation_vm_one pydicom/tests/test_filewriter.py::TestCorrectAmbiguousVR::test_pixel_representation_vm_three pydicom/tests/test_filewriter.py::TestCorrectAmbiguousVRElement::test_correct_ambiguous_data_element
pydicom/tests/test_filewriter.py::TestWriteFile::testRTPlan pydicom/tests/test_filewriter.py::TestWriteFile::testRTDose pydicom/tests/test_filewriter.py::TestWriteFile::testCT pydicom/tests/test_filewriter.py::TestWriteFile::testMR pydicom/tests/test_filewriter.py::TestWriteFile::testUnicode pydicom/tests/test_filewriter.py::TestWriteFile::testMultiPN pydicom/tests/test_filewriter.py::TestWriteFile::testJPEG2000 pydicom/tests/test_filewriter.py::TestWriteFile::testListItemWriteBack pydicom/tests/test_filewriter.py::TestWriteFile::testwrite_short_uid pydicom/tests/test_filewriter.py::TestWriteFile::test_write_no_ts pydicom/tests/test_filewriter.py::TestWriteFile::test_write_double_filemeta pydicom/tests/test_filewriter.py::TestWriteFile::test_write_ffff_ffff pydicom/tests/test_filewriter.py::TestWriteFile::test_write_removes_grouplength pydicom/tests/test_filewriter.py::TestScratchWriteDateTime::testRTPlan pydicom/tests/test_filewriter.py::TestScratchWriteDateTime::testRTDose pydicom/tests/test_filewriter.py::TestScratchWriteDateTime::testCT pydicom/tests/test_filewriter.py::TestScratchWriteDateTime::testMR pydicom/tests/test_filewriter.py::TestScratchWriteDateTime::testUnicode pydicom/tests/test_filewriter.py::TestScratchWriteDateTime::testMultiPN pydicom/tests/test_filewriter.py::TestScratchWriteDateTime::testJPEG2000 pydicom/tests/test_filewriter.py::TestScratchWriteDateTime::testListItemWriteBack pydicom/tests/test_filewriter.py::TestScratchWriteDateTime::testwrite_short_uid pydicom/tests/test_filewriter.py::TestScratchWriteDateTime::test_write_no_ts pydicom/tests/test_filewriter.py::TestScratchWriteDateTime::test_write_double_filemeta pydicom/tests/test_filewriter.py::TestScratchWriteDateTime::test_write_ffff_ffff pydicom/tests/test_filewriter.py::TestScratchWriteDateTime::test_write_removes_grouplength pydicom/tests/test_filewriter.py::TestScratchWriteDateTime::test_multivalue_DA pydicom/tests/test_filewriter.py::TestWriteDataElement::test_empty_AT pydicom/tests/test_filewriter.py::TestWriteDataElement::test_write_empty_LO pydicom/tests/test_filewriter.py::TestWriteDataElement::test_write_DA pydicom/tests/test_filewriter.py::TestWriteDataElement::test_write_multi_DA pydicom/tests/test_filewriter.py::TestWriteDataElement::test_write_TM pydicom/tests/test_filewriter.py::TestWriteDataElement::test_write_multi_TM pydicom/tests/test_filewriter.py::TestWriteDataElement::test_write_DT pydicom/tests/test_filewriter.py::TestWriteDataElement::test_write_multi_DT pydicom/tests/test_filewriter.py::TestWriteDataElement::test_write_ascii_vr_with_padding pydicom/tests/test_filewriter.py::TestWriteDataElement::test_write_OD_implicit_little pydicom/tests/test_filewriter.py::TestWriteDataElement::test_write_OD_explicit_little pydicom/tests/test_filewriter.py::TestWriteDataElement::test_write_OL_implicit_little pydicom/tests/test_filewriter.py::TestWriteDataElement::test_write_OL_explicit_little pydicom/tests/test_filewriter.py::TestWriteDataElement::test_write_UC_implicit_little pydicom/tests/test_filewriter.py::TestWriteDataElement::test_write_UC_explicit_little pydicom/tests/test_filewriter.py::TestWriteDataElement::test_write_UR_implicit_little pydicom/tests/test_filewriter.py::TestWriteDataElement::test_write_UR_explicit_little pydicom/tests/test_filewriter.py::TestWriteDataElement::test_write_UN_implicit_little pydicom/tests/test_filewriter.py::TestWriteDataElement::test_write_unknown_vr_raises pydicom/tests/test_filewriter.py::TestCorrectAmbiguousVR::test_pixel_data pydicom/tests/test_filewriter.py::TestCorrectAmbiguousVR::test_waveform_bits_allocated pydicom/tests/test_filewriter.py::TestCorrectAmbiguousVR::test_lut_descriptor pydicom/tests/test_filewriter.py::TestCorrectAmbiguousVR::test_overlay pydicom/tests/test_filewriter.py::TestCorrectAmbiguousVR::test_sequence pydicom/tests/test_filewriter.py::TestCorrectAmbiguousVR::test_write_new_ambiguous pydicom/tests/test_filewriter.py::TestCorrectAmbiguousVR::test_ambiguous_element_in_sequence_explicit pydicom/tests/test_filewriter.py::TestCorrectAmbiguousVR::test_ambiguous_element_in_sequence_implicit pydicom/tests/test_filewriter.py::TestCorrectAmbiguousVRElement::test_not_ambiguous pydicom/tests/test_filewriter.py::TestCorrectAmbiguousVRElement::test_not_ambiguous_raw_data_element pydicom/tests/test_filewriter.py::TestCorrectAmbiguousVRElement::test_correct_ambiguous_raw_data_element pydicom/tests/test_filewriter.py::TestWriteAmbiguousVR::test_write_explicit_vr_raises pydicom/tests/test_filewriter.py::TestWriteAmbiguousVR::test_write_explicit_vr_little_endian pydicom/tests/test_filewriter.py::TestWriteAmbiguousVR::test_write_explicit_vr_big_endian pydicom/tests/test_filewriter.py::TestScratchWrite::testImpl_LE_deflen_write pydicom/tests/test_filewriter.py::TestWriteToStandard::test_preamble_default pydicom/tests/test_filewriter.py::TestWriteToStandard::test_preamble_custom pydicom/tests/test_filewriter.py::TestWriteToStandard::test_no_preamble pydicom/tests/test_filewriter.py::TestWriteToStandard::test_none_preamble pydicom/tests/test_filewriter.py::TestWriteToStandard::test_bad_preamble pydicom/tests/test_filewriter.py::TestWriteToStandard::test_prefix pydicom/tests/test_filewriter.py::TestWriteToStandard::test_prefix_none pydicom/tests/test_filewriter.py::TestWriteToStandard::test_ds_changed pydicom/tests/test_filewriter.py::TestWriteToStandard::test_raw_elements_preserved_implicit_vr pydicom/tests/test_filewriter.py::TestWriteToStandard::test_raw_elements_preserved_explicit_vr pydicom/tests/test_filewriter.py::TestWriteToStandard::test_convert_implicit_to_explicit_vr pydicom/tests/test_filewriter.py::TestWriteToStandard::test_write_dataset pydicom/tests/test_filewriter.py::TestWriteToStandard::test_write_dataset_with_explicit_vr pydicom/tests/test_filewriter.py::TestWriteToStandard::test_convert_implicit_to_explicit_vr_using_destination pydicom/tests/test_filewriter.py::TestWriteToStandard::test_convert_explicit_to_implicit_vr pydicom/tests/test_filewriter.py::TestWriteToStandard::test_convert_big_to_little_endian pydicom/tests/test_filewriter.py::TestWriteToStandard::test_convert_little_to_big_endian pydicom/tests/test_filewriter.py::TestWriteToStandard::test_changed_character_set pydicom/tests/test_filewriter.py::TestWriteToStandard::test_transfer_syntax_added pydicom/tests/test_filewriter.py::TestWriteToStandard::test_private_tag_vr_from_implicit_data pydicom/tests/test_filewriter.py::TestWriteToStandard::test_convert_rgb_from_implicit_to_explicit_vr pydicom/tests/test_filewriter.py::TestWriteToStandard::test_transfer_syntax_not_added pydicom/tests/test_filewriter.py::TestWriteToStandard::test_transfer_syntax_raises pydicom/tests/test_filewriter.py::TestWriteToStandard::test_media_storage_sop_class_uid_added pydicom/tests/test_filewriter.py::TestWriteToStandard::test_write_no_file_meta pydicom/tests/test_filewriter.py::TestWriteToStandard::test_raise_no_file_meta pydicom/tests/test_filewriter.py::TestWriteToStandard::test_add_file_meta pydicom/tests/test_filewriter.py::TestWriteToStandard::test_standard pydicom/tests/test_filewriter.py::TestWriteToStandard::test_commandset_no_written pydicom/tests/test_filewriter.py::TestWriteFileMetaInfoToStandard::test_bad_elements pydicom/tests/test_filewriter.py::TestWriteFileMetaInfoToStandard::test_missing_elements pydicom/tests/test_filewriter.py::TestWriteFileMetaInfoToStandard::test_group_length pydicom/tests/test_filewriter.py::TestWriteFileMetaInfoToStandard::test_group_length_updated pydicom/tests/test_filewriter.py::TestWriteFileMetaInfoToStandard::test_version pydicom/tests/test_filewriter.py::TestWriteFileMetaInfoToStandard::test_implementation_version_name_length pydicom/tests/test_filewriter.py::TestWriteFileMetaInfoToStandard::test_implementation_class_uid_length pydicom/tests/test_filewriter.py::TestWriteFileMetaInfoToStandard::test_filelike_position pydicom/tests/test_filewriter.py::TestWriteNonStandard::test_preamble_default pydicom/tests/test_filewriter.py::TestWriteNonStandard::test_preamble_custom pydicom/tests/test_filewriter.py::TestWriteNonStandard::test_no_preamble pydicom/tests/test_filewriter.py::TestWriteNonStandard::test_ds_unchanged pydicom/tests/test_filewriter.py::TestWriteNonStandard::test_file_meta_unchanged pydicom/tests/test_filewriter.py::TestWriteNonStandard::test_dataset pydicom/tests/test_filewriter.py::TestWriteNonStandard::test_preamble_dataset pydicom/tests/test_filewriter.py::TestWriteNonStandard::test_filemeta_dataset pydicom/tests/test_filewriter.py::TestWriteNonStandard::test_preamble_filemeta_dataset pydicom/tests/test_filewriter.py::TestWriteNonStandard::test_commandset_dataset pydicom/tests/test_filewriter.py::TestWriteNonStandard::test_preamble_commandset_dataset pydicom/tests/test_filewriter.py::TestWriteNonStandard::test_preamble_commandset_filemeta_dataset pydicom/tests/test_filewriter.py::TestWriteNonStandard::test_commandset_filemeta_dataset pydicom/tests/test_filewriter.py::TestWriteNonStandard::test_commandset pydicom/tests/test_filewriter.py::TestWriteNonStandard::test_commandset_filemeta pydicom/tests/test_filewriter.py::TestWriteNonStandard::test_preamble_commandset pydicom/tests/test_filewriter.py::TestWriteNonStandard::test_preamble_commandset_filemeta pydicom/tests/test_filewriter.py::TestWriteNonStandard::test_read_write_identical pydicom/tests/test_filewriter.py::TestWriteFileMetaInfoNonStandard::test_transfer_syntax_not_added pydicom/tests/test_filewriter.py::TestWriteFileMetaInfoNonStandard::test_bad_elements pydicom/tests/test_filewriter.py::TestWriteFileMetaInfoNonStandard::test_missing_elements pydicom/tests/test_filewriter.py::TestWriteFileMetaInfoNonStandard::test_group_length_updated pydicom/tests/test_filewriter.py::TestWriteFileMetaInfoNonStandard::test_filelike_position pydicom/tests/test_filewriter.py::TestWriteFileMetaInfoNonStandard::test_meta_unchanged pydicom/tests/test_filewriter.py::TestWriteNumbers::test_write_empty_value pydicom/tests/test_filewriter.py::TestWriteNumbers::test_write_list pydicom/tests/test_filewriter.py::TestWriteNumbers::test_write_singleton pydicom/tests/test_filewriter.py::TestWriteNumbers::test_exception pydicom/tests/test_filewriter.py::TestWriteNumbers::test_write_big_endian pydicom/tests/test_filewriter.py::TestWritePN::test_no_encoding pydicom/tests/test_filewriter.py::TestWritePN::test_single_byte_multi_charset_groups pydicom/tests/test_filewriter.py::TestWritePN::test_single_byte_multi_charset_values pydicom/tests/test_filewriter.py::TestWriteText::test_no_encoding pydicom/tests/test_filewriter.py::TestWriteText::test_single_byte_multi_charset_text pydicom/tests/test_filewriter.py::TestWriteText::test_encode_mixed_charsets_text pydicom/tests/test_filewriter.py::TestWriteText::test_single_byte_multi_charset_text_multivalue pydicom/tests/test_filewriter.py::TestWriteText::test_invalid_encoding pydicom/tests/test_filewriter.py::TestWriteText::test_invalid_encoding_enforce_standard pydicom/tests/test_filewriter.py::TestWriteText::test_single_value_with_delimiters pydicom/tests/test_filewriter.py::TestWriteDT::test_format_dt pydicom/tests/test_filewriter.py::TestWriteUndefinedLengthPixelData::test_little_endian_correct_data pydicom/tests/test_filewriter.py::TestWriteUndefinedLengthPixelData::test_big_endian_correct_data pydicom/tests/test_filewriter.py::TestWriteUndefinedLengthPixelData::test_little_endian_incorrect_data pydicom/tests/test_filewriter.py::TestWriteUndefinedLengthPixelData::test_big_endian_incorrect_data pydicom/tests/test_filewriter.py::TestWriteUndefinedLengthPixelData::test_writing_to_gzip pydicom/tests/test_filewriter.py::TestWriteUndefinedLengthPixelData::test_writing_too_big_data_in_explicit_encoding
pydicom/filewriter.py doc/whatsnew/v1.3.0.rst README.md
pydicom/filewriter.py doc/whatsnew/v1.3.0.rst README.md