Mercurial > hg > orthanc
changeset 2294:e371519d4ac9
added -U option to gdcmconv to prevent gdcmconv to mess up the files. Without that option, we have seen the SpecificCharSet tag becoming invalid !!! (seen on the VIX samples)
author | Alain Mazy <am@osimis.io> |
---|---|
date | Tue, 04 Jul 2017 15:36:19 +0000 |
parents | 9d87f308d35c |
children | 5465cab476cf |
files | Resources/Samples/Lua/AutomatedJpeg2kCompression.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Resources/Samples/Lua/AutomatedJpeg2kCompression.lua Wed Jun 28 17:19:30 2017 +0200 +++ b/Resources/Samples/Lua/AutomatedJpeg2kCompression.lua Tue Jul 04 15:36:19 2017 +0000 @@ -16,7 +16,7 @@ -- Compress to JPEG2000 using gdcm local compressed = instanceId .. '-compressed.dcm' - os.execute('gdcmconv --j2k ' .. uncompressed .. ' ' .. compressed) + os.execute('gdcmconv -U --j2k ' .. uncompressed .. ' ' .. compressed) -- Generate a new SOPInstanceUID for the JPEG2000 file, as -- gdcmconv does not do this by itself