Mercurial > hg > orthanc
comparison OrthancFramework/Sources/Enumerations.cpp @ 5054:255b02c68908
Added support for RGBA64 images in tools/create-dicom and /preview (Contribution from James Manners - Pliny)
author | Alain Mazy <am@osimis.io> |
---|---|
date | Fri, 08 Jul 2022 15:26:52 +0200 |
parents | 3444990cf295 |
children | b89833d7ce22 |
comparison
equal
deleted
inserted
replaced
5053:1e435be86887 | 5054:255b02c68908 |
---|---|
1912 | 1912 |
1913 case PixelFormat_RGB48: | 1913 case PixelFormat_RGB48: |
1914 return 6; | 1914 return 6; |
1915 | 1915 |
1916 case PixelFormat_Grayscale64: | 1916 case PixelFormat_Grayscale64: |
1917 case PixelFormat_RGBA64: | |
1917 return 8; | 1918 return 8; |
1918 | 1919 |
1919 default: | 1920 default: |
1920 throw OrthancException(ErrorCode_ParameterOutOfRange); | 1921 throw OrthancException(ErrorCode_ParameterOutOfRange); |
1921 } | 1922 } |