Cairo and png

1 post / 0 new
YesCop
YesCop's picture
Offline
Last seen: 4 years 3 months ago
Joined: 2011-05-17 15:07
Cairo and png

Well I am back.

I test some basic cairo functions, some worked others don't. We will see that later.
What I would want to know about is about the function cairo_surface_write_to_png.
I succeed to save the bitmaps to pdf but not to png.
The png file created has a size of 0.
The error returned by he function is CAIRO_STATUS_NO_MEMORY.

Moreover if someone has some amiga cairo examples, I will be happy.

Thanks