c++imageboostboost-gil

Read image and access bytes in boost::gil


Is it possible to:

Is it possible with boost::gil ? Maybe there is a different library more appropriate for such a task?

Sample code would be highly appreciated.


Solution

  • Yes, you can do all that in boost::gil. What you should know though, is that boost::gil is only a universal interface and doesn't handle reading/writing images all by itself. You still need to use a second library, e.g. libpng..