[Bug 18574] restore support for MNG and JNG

Discussion of bugs in Seamonkey
Post Reply
Old GlennRP
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Re: Let's create MNGs...

Post by Old GlennRP »

lemi4 wrote:(the first thought was MNG-VLC as a simpler alternative to MNG, but I guess that one's been done to death ;) )

Of course you are free to create MNG-VLCs. A full MNG player will play them. Only problem is that they might have larger filesizes than necessary.
User avatar
zachariah
Posts: 586
Joined: September 30th, 2003, 12:44 pm
Location: Earth

Post by zachariah »

(In reply to comment #555 and comment #556)

If it (ever) get's built in (but by default is turned off), then wouldn't it be fairly simple to make an extension which turns it on, at that point?

For that matter, does anyone know if there's an MNG plugin for Mozilla/Firefox? At least then the user would see the plugin-finder right there in the page and could install the plugin to then see the MNG content. (this would probably be better than an extension)


(don't get me wrong -- I'd rather it be built into the browser, but I think at this point a plugin would be my 2nd choice)

Help MozillaZine: Donate! or Buy Something!
User avatar
CaptainN
Posts: 27
Joined: July 22nd, 2003, 9:58 am
Location: New York, USA
Contact:

Post by CaptainN »

Why would something (like svg or mng) be built into Firefox by default but disabled?

Wasn't MNG disabled in the first place to save space? And if it is built in, but disabled, doesn't it take up space?
Old GlennRP
Posts: 0
Joined: December 31st, 1969, 5:00 pm

Post by Old GlennRP »

It would take space in the source but not in the executable, if it is not only disabled but also
removed via conditional compile directives like

#ifdef MNG_SUPPORTED
MNG_supporting code
#endif
User avatar
CaptainN
Posts: 27
Joined: July 22nd, 2003, 9:58 am
Location: New York, USA
Contact:

Post by CaptainN »

Ah!! I get it :-)

Cool then, i can't wait until it is included in the official builds. Now hopefully they will move on to adding dynamic fonts (or at least CEF):
https://bugzilla.mozilla.org/show_bug.cgi?id=70132

I build web sites for a living, and man am I sick of cropping/saving/editting font header graphics!
User avatar
zachariah
Posts: 586
Joined: September 30th, 2003, 12:44 pm
Location: Earth

Post by zachariah »

CaptainN wrote:... I build web sites for a living, and man am I sick of cropping/saving/editting font header graphics!
Have a look at this article:

Dynamic Text Replacement: A List Apart
...Using JavaScript and PHP, we can generate accessible image-headings using any font we like. And we don’t have to change the structure of our HTML or CSS at all....

Help MozillaZine: Donate! or Buy Something!
User avatar
CaptainN
Posts: 27
Joined: July 22nd, 2003, 9:58 am
Location: New York, USA
Contact:

Post by CaptainN »

That's cool and all, but wouldn't it be easier to just upload a font file, and include it in the style sheet?

Oh well, maybe someday :-)
User avatar
zachariah
Posts: 586
Joined: September 30th, 2003, 12:44 pm
Location: Earth

Post by zachariah »

of course it would, and it's amazing to me that we can't yet do that, but I do think the article has a pretty elegant workaround


maybe someday

Help MozillaZine: Donate! or Buy Something!
User avatar
scratch
Posts: 4942
Joined: November 6th, 2002, 1:27 am
Location: Massachusetts

Post by scratch »

zachariah wrote:(In reply to comment #555 and comment #556)

If it (ever) get's built in (but by default is turned off), then wouldn't it be fairly simple to make an extension which turns it on, at that point?

For that matter, does anyone know if there's an MNG plugin for Mozilla/Firefox? At least then the user would see the plugin-finder right there in the page and could install the plugin to then see the MNG content. (this would probably be better than an extension)


(don't get me wrong -- I'd rather it be built into the browser, but I think at this point a plugin would be my 2nd choice)


there is, but the plugin only works for MNGs in a <object> tag, and those in an <IMG> tag still show up broken.
djcater
Posts: 131
Joined: February 10th, 2005, 1:14 pm

Post by djcater »

According to comment 584 and 585, the patch doesn't actually build the support in by default. This means that end-users of default builds see no difference. No rise in download size, no rise in install size, no slowdown etc. But it does enable people to build in support if they want to, which cannot be done at the moment. It's then a simple matter to enable building by default, whenever that happens. All it does is increase source code size, which has never been a large concern of anyone's.

I would like a review to be requested on the latest patch to see what happens. I would like to hear the main objection to including this patch.
Last edited by djcater on September 4th, 2005, 9:16 am, edited 1 time in total.
User avatar
BenoitRen
Posts: 5946
Joined: April 11th, 2004, 10:20 am
Location: Belgium

Post by BenoitRen »

You mean "objection". From what I can gather, it seems MNG and JNG aren't used widely enough yet to warrant Mozilla to become even bigger in size.
schapel
Posts: 3483
Joined: November 4th, 2002, 10:47 pm
Location: Ann Arbor, Michigan
Contact:

Post by schapel »

Well of course MNG and JNG won't be used if browsers don't support them. If this same argument were applied to all web technologies, browsers would support almost none. Was there any new technology widely used on the web before any popular browser supported it?
User avatar
zachariah
Posts: 586
Joined: September 30th, 2003, 12:44 pm
Location: Earth

Post by zachariah »

yeah, I'd have to agree that the "aren't used widely enough yet" argument is pretty weak

Help MozillaZine: Donate! or Buy Something!
User avatar
Phlip
Posts: 14
Joined: October 16th, 2003, 2:42 am
Location: Australia

Post by Phlip »

Little-known fact: before browsers implemented PNG, the use of PNG files on the web was very low.

The implementation of PNG in browsers happened before PNGs were used on the net.
Implementation of MNG will also have to happen before MNGs will be widely used.

I've wanted to use MNGs on occasion, the whole animations-with-RGBA dealie is attractive, but I've always had to use GIFs or some other workaround since MNGs aren't supported. The result? MNG use is very low.
<link rel="signature" type="text/hilarious" rel="/funnysig.txt" />
User avatar
BenoitRen
Posts: 5946
Joined: April 11th, 2004, 10:20 am
Location: Belgium

Post by BenoitRen »

However, Mozilla browsers don't make up most of the user agents that access the web. Even if Mozilla browsers started implementing MNG support, it would be useless, as 90% won't be able to view them because of a crappy browser.
Post Reply