Mercurial > hg > orthanc
diff Core/Images/PamWriter.h @ 2705:5c18a22cb981
fix portability of PAM reader/writer
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 06 Jul 2018 16:33:03 +0200 |
parents | 52217dc47a4e |
children | 4e43e67f8ecf |
line wrap: on
line diff
--- a/Core/Images/PamWriter.h Fri Jul 06 15:18:53 2018 +0200 +++ b/Core/Images/PamWriter.h Fri Jul 06 16:33:03 2018 +0200 @@ -41,25 +41,11 @@ class PamWriter : public IImageWriter { protected: -#if ORTHANC_SANDBOXED == 0 - virtual void WriteToFileInternal(const std::string& filename, - unsigned int width, - unsigned int height, - unsigned int pitch, - PixelFormat format, - const void* buffer); -#endif - - virtual void WriteToMemoryInternal(std::string& png, + virtual void WriteToMemoryInternal(std::string& target, unsigned int width, unsigned int height, unsigned int pitch, PixelFormat format, const void* buffer); - - public: - PamWriter() {} - - virtual ~PamWriter() {} }; }