[cairo] JPEG Support For Libcairo

Adrian Johnson ajohnson at redneon.com
Tue Dec 29 04:16:19 PST 2015


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



More information about the cairo mailing list