Is it possible with boost::gil to read RGB image information so that I can read the file in the correct rgbx_image_t ?
With the following, I have to know the type in advance, and this is not so neat.
boost::gil::rgb8_image_t im; gil::png_read_image(m_filename, im);
source share