Mercurial > hg > orthanc
comparison Plugins/Samples/GdcmDecoding/OrthancContext.cpp @ 993:501880d76474 plugins
improvements to GDCM plugin
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 02 Jul 2014 14:41:57 +0200 |
parents | 80d4f1618b33 |
children | d06186cdc502 |
comparison
equal
deleted
inserted
replaced
992:af014624dac1 | 993:501880d76474 |
---|---|
154 } | 154 } |
155 | 155 |
156 OrthancPluginCompressAndAnswerPngImage(context_, output, format, accessor.GetWidth(), | 156 OrthancPluginCompressAndAnswerPngImage(context_, output, format, accessor.GetWidth(), |
157 accessor.GetHeight(), accessor.GetPitch(), accessor.GetConstBuffer()); | 157 accessor.GetHeight(), accessor.GetPitch(), accessor.GetConstBuffer()); |
158 } | 158 } |
159 | |
160 | |
161 | |
162 void OrthancContext::Redirect(OrthancPluginRestOutput* output, | |
163 const std::string& s) | |
164 { | |
165 Check(); | |
166 OrthancPluginRedirect(context_, output, s.c_str()); | |
167 } |