Re: JPEG Support For Libcairo

Bernhard Fischer <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <1490300.yhVSaWQ7TT@winnie>
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 [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


This implementation like I've done is actually done on top of cairo. It does 
not access internal functions or structures in any way.

Bernhard

-- 
cairo mailing list
[email protected]
http://lists.cairographics.org/mailman/listinfo/cairo
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.