Alternate of BufferedImage in C++
I am using BufferedImage in my Java program for storing some information in an image. The problem is that I want to create a similar program in C++ but I can't find a开发者_StackOverflown alternate of BufferedImage..
Looking forward to some useful ideas. Thanks
You can have a look at the cairo library: http://cairographics.org/
In the examples:
cairo_surface_t *surface;
cairo_t *cr;
surface = cairo_image_surface_create (CAIRO_FORMAT_ARGB32, 120, 120);
cr = cairo_create (surface);
精彩评论