[cairo-bugs] [Bug 53413] add an API to configure settings for the generated PNG

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sun Aug 12 08:51:07 PDT 2012


Uli Schlachter <psychon at znc.in> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX

--- Comment #1 from Uli Schlachter <psychon at znc.in> 2012-08-12 15:51:07 UTC ---
If you want more control over the generated PNG, use libpng directly. The
reason can be found in the documentation:

  The PNG functions allow reading PNG images into image surfaces, and writing
any surface to a PNG file.

  It is a toy API. It only offers very simple support for reading and writing
PNG files, which is sufficient for testing and demonstration purposes.
Applications which need more control over the generated PNG file should access
the pixel data directly, using cairo_image_surface_get_data() or a
backend-specific access function, and process it with another library, e.g.
gdk-pixbuf or libpng.

Cairo doesn't try to be a general purpose image loading/saving library and thus
the API you propose doesn't fit into cairo.

Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA Contact for the bug.

More information about the cairo-bugs mailing list