Mercurial > hg > orthanc
comparison Core/ImageFormats/ImageBuffer.cpp @ 1608:adc6a5704cdb
OrthancPluginConvertPixelFormat
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 02 Sep 2015 13:58:08 +0200 |
parents | 6e7e5ed91c2d |
children |
comparison
equal
deleted
inserted
replaced
1607:a1c92fd4d26d | 1608:adc6a5704cdb |
---|---|
83 changed_ = true; | 83 changed_ = true; |
84 } | 84 } |
85 } | 85 } |
86 | 86 |
87 | 87 |
88 ImageBuffer::ImageBuffer(unsigned int width, | 88 ImageBuffer::ImageBuffer(PixelFormat format, |
89 unsigned int height, | 89 unsigned int width, |
90 PixelFormat format) | 90 unsigned int height) |
91 { | 91 { |
92 Initialize(); | 92 Initialize(); |
93 SetWidth(width); | 93 SetWidth(width); |
94 SetHeight(height); | 94 SetHeight(height); |
95 SetFormat(format); | 95 SetFormat(format); |