Re: JPEG Support For Libcairo
Adrian Johnson <[email protected]>
| Newsgroups | gmane.comp.lib.cairo |
|---|---|
| Message-ID | <[email protected]> |
On 29/12/15 12:35, Enrico Weigelt, metux IT consult wrote: > On 28.12.2015 15:12, Bernhard Fischer wrote: >> I implemented two small functions which read/write JPEG into/from a Cairo >> image surface. > > Added it to cairo tree - see patches. > The API is missing the stream functions. JPEG API has previously been proposed [1]. Behdad's reply [2] summarizes the reason the patches were declined: "PNG support is cairo's way to import and export images, and it does the job just like that, losslessly and in a rather efficient format. Anything else should be implemented on top of other cairo API. It's like the toy text api." [1] http://lists.cairographics.org/archives/cairo/2007-January/009194.html [2] http://lists.cairographics.org/archives/cairo/2007-January/009200.html -- cairo mailing list [email protected] http://lists.cairographics.org/mailman/listinfo/cairo