On Fri, Jul 27, 2012 at 1:01 PM, Mike Hommey <m...@glandium.org> wrote:

> On Fri, Jul 27, 2012 at 10:53:18AM +0200, Bobby Holley wrote:
> > Hi Malat,
> >
> > It's not possible to add support for <img src="foo.jp2"> in an extension.
> > Unfortunately, image decoders (src/image/decoders) need to be compiled
> into
> > the browser.
>
> IIRC, there's not much left to add on gecko's end for extensions to be
> able to, and I see no compelling reason why we shouldn't add these
> remaining bits. Details should be in one of the bugs about mng or jpeg2k.
>

Actually, in bug 513681 I explicitly removed the pseudo-support we used to
have for it, because it was getting in the way of cleaning up ImageLib.
Once we get imgIDecoderObserver cleaned up and straightened out (involving
a lot of refactoring), we could indeed implement a pluggable decoder story.
But given that it's been years and we still haven't found anyone with the
time to do the refactoring that Gecko itself needs (bug 505385), I'm very
skeptical that it will ever happen.
_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to