Mercurial > hg > orthanc
diff Core/Enumerations.cpp @ 2415:7e217a1cc63f
PixelFormat_Float32
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Mon, 02 Oct 2017 22:02:05 +0200 |
parents | 5edec967055e |
children | 5a7c5c541a1d |
line wrap: on
line diff
--- a/Core/Enumerations.cpp Mon Oct 02 15:31:20 2017 +0200 +++ b/Core/Enumerations.cpp Mon Oct 02 22:02:05 2017 +0200 @@ -753,6 +753,9 @@ case PixelFormat_Float32: return "Grayscale (float 32bpp)"; + case PixelFormat_Grayscale32: + return "Grayscale (unsigned 32bpp)"; + default: throw OrthancException(ErrorCode_ParameterOutOfRange); } @@ -1334,6 +1337,7 @@ case PixelFormat_RGBA32: case PixelFormat_BGRA32: + case PixelFormat_Grayscale32: return 4; case PixelFormat_Float32: