Fixes #44 "Odd results with true greyscale images"
Calls to CImg<T>(const char * const file) are wrapped in the new load_rgb_CImg. That function loads as normal, but if it detects that that image only has one channel (that is, is greyscale), it creates a three channeled image and copies the single source channel into each.
Fixes #44 "Odd results with true greyscale images"
Calls to
CImg<T>(const char * const file)
are wrapped in the newload_rgb_CImg
. That function loads as normal, but if it detects that that image only has one channel (that is, is greyscale), it creates a three channeled image and copies the single source channel into each.