Mercurial > hg > orthanc
comparison OrthancServer/OrthancRestApi/OrthancRestResources.cpp @ 2780:d4e81e0a8324
fix
author | am@osimis.io |
---|---|
date | Tue, 17 Jul 2018 17:50:03 +0200 |
parents | 46061a91c88a |
children | d88970f1ffbf |
comparison
equal
deleted
inserted
replaced
2779:d67298eec14e | 2780:d4e81e0a8324 |
---|---|
416 | 416 |
417 virtual void Handle(const std::string& type, | 417 virtual void Handle(const std::string& type, |
418 const std::string& subtype) | 418 const std::string& subtype) |
419 { | 419 { |
420 assert(type == "image"); | 420 assert(type == "image"); |
421 assert(subtype == "pam"); | 421 assert(subtype == "x-portable-arbitrarymap"); |
422 image_.EncodeUsingPam(); | 422 image_.EncodeUsingPam(); |
423 } | 423 } |
424 }; | 424 }; |
425 | 425 |
426 class EncodeJpeg : public HttpContentNegociation::IHandler | 426 class EncodeJpeg : public HttpContentNegociation::IHandler |