Mercurial > hg > orthanc
changeset 815:5dcfdd3bfca9
endianness
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Thu, 08 May 2014 15:52:37 +0200 |
parents | aeee9cc66dd9 |
children | 2f63c225c4c0 |
files | OrthancServer/ParsedDicomFile.cpp |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancServer/ParsedDicomFile.cpp Thu May 08 15:29:27 2014 +0200 +++ b/OrthancServer/ParsedDicomFile.cpp Thu May 08 15:52:37 2014 +0200 @@ -1183,10 +1183,10 @@ case PixelFormat_Grayscale16: case PixelFormat_SignedGrayscale16: { - if (Toolbox::DetectEndianness() != Endianness_Little) + /*if (Toolbox::DetectEndianness() != Endianness_Little) { throw OrthancException(ErrorCode_NotImplemented); - } + }*/ memcpy(target, reinterpret_cast<const Uint8*>(accessor.GetConstRow(y)), pitch); target += pitch;