开发者

Alternate of BufferedImage in C++

开发者 https://www.devze.com 2023-04-07 17:40 出处:网络
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 o

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);
0

精彩评论

暂无评论...
验证码 换一张
取 消