Mercurial > hg > orthanc
comparison Core/Images/ImageProcessing.h @ 3547:dabe17e23e23
Copy RGBA to BGRA & Set with alpha
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Tue, 22 Oct 2019 17:30:43 +0200 |
parents | 551945086617 |
children | e1ce68692069 fab5777f4dd4 |
comparison
equal
deleted
inserted
replaced
3546:460ba650be6f | 3547:dabe17e23e23 |
---|---|
87 uint8_t red, | 87 uint8_t red, |
88 uint8_t green, | 88 uint8_t green, |
89 uint8_t blue, | 89 uint8_t blue, |
90 uint8_t alpha); | 90 uint8_t alpha); |
91 | 91 |
92 void Set(ImageAccessor& image, | |
93 uint8_t red, | |
94 uint8_t green, | |
95 uint8_t blue, | |
96 ImageAccessor& alpha); | |
97 | |
92 void ShiftRight(ImageAccessor& target, | 98 void ShiftRight(ImageAccessor& target, |
93 unsigned int shift); | 99 unsigned int shift); |
94 | 100 |
95 void ShiftLeft(ImageAccessor& target, | 101 void ShiftLeft(ImageAccessor& target, |
96 unsigned int shift); | 102 unsigned int shift); |