Mercurial > hg > orthanc
comparison OrthancFramework/UnitTestsSources/FromDcmtkTests.cpp @ 5363:3c8286e5d07b multiple-jpeg-decoders
wip: try to add a jpeg decoder without colorspace conversion: not working now
author | Alain Mazy <am@osimis.io> |
---|---|
date | Tue, 11 Jul 2023 10:25:58 +0200 |
parents | 5b2a5cc64cb1 |
children |
comparison
equal
deleted
inserted
replaced
5360:165b67c02927 | 5363:3c8286e5d07b |
---|---|
3613 std::string t; | 3613 std::string t; |
3614 | 3614 |
3615 IDicomTranscoder::DicomImage source, target; | 3615 IDicomTranscoder::DicomImage source, target; |
3616 source.AcquireParsed(dynamic_cast<DcmFileFormat*>(toto->clone())); | 3616 source.AcquireParsed(dynamic_cast<DcmFileFormat*>(toto->clone())); |
3617 | 3617 |
3618 if (!transcoder.Transcode(target, source, s, true)) | 3618 if (!transcoder.Transcode(target, source, s, true, true)) |
3619 { | 3619 { |
3620 printf("**************** CANNOT: [%s] => [%s]\n", | 3620 printf("**************** CANNOT: [%s] => [%s]\n", |
3621 GetTransferSyntaxUid(sourceSyntax), GetTransferSyntaxUid(a)); | 3621 GetTransferSyntaxUid(sourceSyntax), GetTransferSyntaxUid(a)); |
3622 } | 3622 } |
3623 else | 3623 else |