[cairo] JPEG support patch
spitzak at d2.com
Thu Jan 18 20:36:12 PST 2007
You are right, cairo would not require DevIL, only the image_pattern
types. Although if the pdf surface was able to recognize the jpeg
image_pattern, it may mean the pdf surface would end up depending on DevIL.
Even if this was done, I think cairo should be able to *write* a png
file without requiring DevIL, just libpng. But it may not be able to
read a png without it.
Vladimir Vukicevic wrote:
> Bill Spitzak wrote:
>> Actually DevIL is the library I was thinking of when I was trying to
>> make a proposal for a new cairo pattern t.
>> Perhaps Cairo can just require DevIL.
> What purpose would there be to having Cairo require DevIL, rather than
> just having there be a middle layer shim library that can use DevIL to
> load data into cairo surfaces/cairo patterns? There isn't anything
> preventing you from creating cairo_image_pattern_create() on top of
> existing public cairo APIs from another library. I wouldn't call it
> cairo_ to avoid confusion, but something similar.
> - Vlad
> cairo mailing list
> cairo at cairographics.org
More information about the cairo