Re: Extending with new image format

2012-08-01 Thread Henri Sivonen
On Sat, Jul 28, 2012 at 12:18 AM, Justin Dolske wrote: > I'd want to think carefully about doing so, in the name of web > compatibility... Ending up with a plethora of image formats with varying > degrees of support isn't a state we'd want to end up in. Video is a prime > example of this: codec pa

Re: Extending with new image format

2012-07-30 Thread Yury Delendik
On 7/27/2012 4:36 PM, Zack Weinberg wrote: On the other hand, enabling people to experiment with new image formats via carefully sandboxed JavaScript decoders could be very valuable for the future evolution of the platform. The JPEG2000 and JBIG2 JavaScript decoders are part of the PDF.js pro

Re: Extending with new image format

2012-07-27 Thread Zack Weinberg
On 2012-07-27 2:18 PM, Justin Dolske wrote: On 7/27/12 4:01 AM, Mike Hommey wrote: 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.

Re: Extending with new image format

2012-07-27 Thread Justin Dolske
On 7/27/12 4:01 AM, Mike Hommey wrote: 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. I'd want to think carefully about doing so,

Re: Extending with new image format

2012-07-27 Thread Bobby Holley
On Fri, Jul 27, 2012 at 1:01 PM, Mike Hommey wrote: > On Fri, Jul 27, 2012 at 10:53:18AM +0200, Bobby Holley wrote: > > Hi Malat, > > > > It's not possible to add support for in an extension. > > Unfortunately, image decoders (src/image/decoders) need to be compiled > into > > the browser. > > I

Re: Extending with new image format

2012-07-27 Thread Mike Hommey
On Fri, Jul 27, 2012 at 10:53:18AM +0200, Bobby Holley wrote: > Hi Malat, > > It's not possible to add support for 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

Re: Extending with new image format

2012-07-27 Thread Bobby Holley
Hi Malat, It's not possible to add support for in an extension. Unfortunately, image decoders (src/image/decoders) need to be compiled into the browser. You could perhaps write an extension that watches web pages and inserts a child for all elements where you render your image. It could break

Extending with new image format

2012-07-27 Thread malat
Hi there, I have been trying to find in the documentation the simplest way to add JPEG 2000 support in my browser. I found the following project: jpeg2000-plugin. However this is displaying in its own window. As far as I know there is not way to reuse this plugin and return the buffer in th