boostorg / gil

Boost.GIL - Generic Image Library | Requires C++14 since Boost 1.80
https://boostorg.github.io/gil
Boost Software License 1.0
179 stars 163 forks source link

Add test suite for color_convert and default_color_converter #434

Open mloskot opened 4 years ago

mloskot commented 4 years ago

We need to start a detailed test cases coverage for color conversion algorithms:


It's a good idea to exercise the color_convert and default_color_converter using available interfaces, for example

gil::rgb8_pixel_t red(255, 0, 0);
... red2;

// three equivalent conversions
gil::color_convert(red1, red2);
gil::default_color_converter()(red1, red2);
red2 = gil::color_convert_deref_fn<gil::rgb8_ref_t, ...>()(red1);
pankaj-2407 commented 3 years ago

Hi, I would like to work on this issue.

lpranam commented 3 years ago

Feel free to take on this. No need for permission. :D

pankaj-2407 commented 3 years ago

Thankyou @lpranam