[cairo] JPEG Support For Libcairo
bf at abenteuerland.at
Tue Dec 29 05:39:25 PST 2015
On Tuesday 29 December 2015 22:46:19 Adrian Johnson wrote:
> 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 . Behdad's reply  summarizes the reason the patches were
> "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."
>  http://lists.cairographics.org/archives/cairo/2007-January/009194.html
>  http://lists.cairographics.org/archives/cairo/2007-January/009200.html
This implementation like I've done is actually done on top of cairo. It does
not access internal functions or structures in any way.
More information about the cairo