Mercurial > hg > orthanc
diff OrthancFramework/Sources/Enumerations.cpp @ 5112:b89833d7ce22
Fix support for image/jpg mime type in /tools/create-dicom
author | Alain Mazy <am@osimis.io> |
---|---|
date | Wed, 23 Nov 2022 11:47:44 +0100 |
parents | 255b02c68908 |
children | a3c3f13368ea |
line wrap: on
line diff
--- a/OrthancFramework/Sources/Enumerations.cpp Tue Nov 22 18:01:23 2022 +0100 +++ b/OrthancFramework/Sources/Enumerations.cpp Wed Nov 23 11:47:44 2022 +0100 @@ -1728,7 +1728,7 @@ target = MimeType_Dicom; return true; } - else if (source == MIME_JPEG) + else if (source == MIME_JPEG || source == MIME_JPG) { target = MimeType_Jpeg; return true;