cairocffi and GDK-PixBuf for decoding JPEG and other image formats
Simon Sapin <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
Hi, A long-standing feature request on cairo has been the ability to decode JPEG and other image formats, just like cairo_image_surface_create_from_png() does for PNG. The response has been that this does not belong in cairo itself. GDK-PixBuf can load many image formats, but uses a different internal format for pixel data. I just added some integration code in cairocffi, to wrap GDK-PixBuf and do the pixel conversion: http://pythonhosted.org/cairocffi/pixbuf.html (cairocffi is a drop-in alternative to pycairo.) Happy image decoding! -- Simon Sapin -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo