Re: JPEG Support For Libcairo

Bill Spitzak <[email protected]>
Newsgroups gmane.comp.lib.cairo
Message-ID <[email protected]>
I don't know how bloated it is, but a popular solution for this is 
imagemagick: http://www.imagemagick.org/script/index.php

It implements a very large number of file formats and is multithreaded.

That said, all work I have done has been to directly call 
libpng/jpeg/etc rather than some library that gathers them all together.

On 01/02/2016 03:17 AM, Enrico Weigelt, metux IT consult wrote:
> On 31.12.2015 14:02, Behdad Esfahbod wrote:
>
>> Indeed, at the time, the impression I got from Carl and others was
>> that the PNG support is just a convenience and everything else should
>> be done on top.
>
> Agreed. Maybe we should even put the png stuff into a separate library
> and declare the builtin one deprecated. That way, we leave the distros
> the decision whether to keep it enabled, and applications can be
> migrated smoothly.
>
> The interesting question now is: should we have separate libraries per
> image file format, or one big one, which might even do automatic format
> detection (so applications dont need to care at all).
>
>> gtkpixbuf is one such library that supports a bunch of formats.  I
>> imagine the glib dependency might not be desirable, so someone might
>> want to start a new library.
>
> Exactly. For my project (an tiny widget toolkit) I *definitivly* do
> *not* want anything of that bloat.
>
>
>
> --mtx
>
> --
> Enrico Weigelt,
> metux IT consulting
> +49-151-27565287
>

-- 
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.