Mercurial > hg > orthanc
diff Plugins/Engine/OrthancPlugins.h @ 2012:50b9bc19dc62
More than one custom image decoder can be installed (e.g. to handle different transfer syntaxes)
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 10 Jun 2016 17:54:26 +0200 |
parents | 39329372b667 |
children | d108412411e5 |
line wrap: on
line diff
--- a/Plugins/Engine/OrthancPlugins.h Fri Jun 10 09:26:26 2016 +0200 +++ b/Plugins/Engine/OrthancPlugins.h Fri Jun 10 17:54:26 2016 +0200 @@ -260,6 +260,13 @@ bool HasCustomImageDecoder(); + // Contrarily to "Decode()", this method does not fallback to the + // builtin image decoder, if no installed custom decoder can + // handle the image (it returns NULL in this case). + ImageAccessor* DecodeUnsafe(const void* dicom, + size_t size, + unsigned int frame); + virtual ImageAccessor* Decode(const void* dicom, size_t size, unsigned int frame);