diff 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
line wrap: on
line diff
--- a/Core/Images/ImageProcessing.h	Mon Oct 21 10:14:08 2019 +0200
+++ b/Core/Images/ImageProcessing.h	Tue Oct 22 17:30:43 2019 +0200
@@ -89,6 +89,12 @@
              uint8_t blue,
              uint8_t alpha);
 
+    void Set(ImageAccessor& image,
+             uint8_t red,
+             uint8_t green,
+             uint8_t blue,
+             ImageAccessor& alpha);
+
     void ShiftRight(ImageAccessor& target,
                     unsigned int shift);