comparison Core/DicomParsing/ParsedDicomFile.h @ 2905:ae20fccdd867

refactoring mime types
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 30 Oct 2018 11:55:23 +0100
parents f3c1eda54e47
children 9d277f8ad698
comparison
equal deleted inserted replaced
2904:0dd54ee073db 2905:ae20fccdd867
181 181
182 void EmbedContent(const std::string& dataUriScheme); 182 void EmbedContent(const std::string& dataUriScheme);
183 183
184 void EmbedImage(const ImageAccessor& accessor); 184 void EmbedImage(const ImageAccessor& accessor);
185 185
186 #if (ORTHANC_ENABLE_JPEG == 1 && \
187 ORTHANC_ENABLE_PNG == 1)
188 void EmbedImage(const std::string& mime, 186 void EmbedImage(const std::string& mime,
189 const std::string& content); 187 const std::string& content);
190 #endif
191 188
192 Encoding GetEncoding() const; 189 Encoding GetEncoding() const;
193 190
194 // WARNING: This function only sets the encoding, it will not 191 // WARNING: This function only sets the encoding, it will not
195 // convert the encoding of the tags. Use "ChangeEncoding()" if need be. 192 // convert the encoding of the tags. Use "ChangeEncoding()" if need be.