Pingdom Home

US + international: +1-212-796-6890

SE + international: +46-21-480-0920

Business hours 3 am-11:30 am EST (Mon-Fri).

Pingdom Blog

Royal Pingdom

Ramblings from the Pingdom team about the Internet and web tech

RSS Feed

Promising web file formats that never took off

The World Wide Web has promised a lot over the years. Thus far, some of those promises have been fulfilled, but there have also been disappointments. One area that I feel has been consistently disappointing in recent years is the promise of newer, more powerful, and more useful file formats. I’ll take a look at three of these: SVG, JPEG 2000, and MNG, below.

SVG

SVG stands for Scalable Vector Graphics, an open standard file format which has been in development by the W3C (World Wide Web Consortium) since the late 1990s. When SVG first started out, many companies were enthusiastically behind it, including Adobe, Apple, Corel, IBM, Macromedia, and Microsoft. Since then, enthusiasm has diminished, although SVG is still an active project with the W3C.

SVG offered (and should it survive, still offers) quite a bit to web designers and developers. The main purpose of SVG was to provide an open standard file format for placing vector images on the Web. As you may know, vector images, created in programs such as Adobe Illustrator and Corel Draw, are usually converted to bitmap formats like GIF, JPG, or PNG, before being placed on the Web. The problem here is that bitmap images usually have much larger file sizes than their vector counterparts. Also, vector images are described on the file format level as a series of lines, shapes, colors, and coordinates. As such, they can be scaled to practically any size, a feature that’s lost once the vector image is converted to bitmap format.

Perhaps the best advantage of SVG is that it uses text-based XML to describe images. Since the entire SVG file can be accessed via XML, animation and scripting are possible, and are a part of the SVG standard. If you think this all sounds something like the original intent of Macromedia/Adobe Flash, you’re right: Flash was originally designed as a proprietary type of SVG, designed for animating vector graphics. Personally, I feel an open standard such as SVG would be much better for all of us, but the format has never matured to its full potential.

The main hindrance to SVG’s adoption is browser support: Browsers such as Firefox do not offer complete SVG support, and Internet Explorer offers no SVG support whatsoever. This Wikipedia table and this Codedread table provide excellent visuals showing why we still can’t reliably use SVG in our websites.

MNG

MNG, which stands for Multiple image Network Graphics, was created by many of the same developers who created the PNG file format. MNG was originally thought of as an animation format for PNG images, although many additional features were added as the format matured. The MNG 1.0 specification was officially released on 31 January 2001.

On the surface, MNG may sound like simple animation or video, but it’s actually much more. Objects, or “Sprites” inside a MNG file can copied or moved at later points in the animation, making MNG much more flexible than traditional animation. For example, if you wanted to repeat a certain sequence of images several times in a video, the sequence would have to be added to the video at numerous locations. Using MNG, the sequence would only have to be included once. It could then be told when the MNG file is built, to repeat at certain points in the playback. This could result in significantly smaller file sizes.

MNG also includes other features, including the ability to use enhanced lossless compression, and the ability to create JPGs with an alpha transparency channel.

As you may have guessed, the main concern with MNG images is a lack of support in major browsers.

JPEG 2000

JPEG 2000 was created by The JPEG Committee as a modern replacement for its JPG file format. JPEG 2000 offers enhanced compression versus traditional JPG, but the main advantage of JPEG 2000 is its features.

The current JPG format compresses information into what can be visualized as square blocks of data. The blocks are then stored sequentially from top left to bottom right, to create an image. However, JPEG 200 uses wavelet compression to store images as a stream of information. It’s the stream of information concept that opens up many possibilities.

For example, it could be possible to click your mouse on a portion of an image, and zoom into a more detailed look at the image. The zooming would not be performed using the artificial software-styled zoom that we currently see used in photo editors and browser plugins. It would be real zoom, providing the additional detail via image data streaming in at a higher resolution. The multiple resolution concept could also make it possible for a JPEG to stream in at a default resolution, such as 96 dpi for standard use on a Website Should you need additional resolution, for example, to print the image, the stream could be allowed to continue until it provides 300 dpi of data, which would be appropriate for printing.

Unfortunately, we still haven’t seen a real look at JPEG 2000 in action, for the usual reason: it’s been poorly implemented by browser manufacturers. For example, a Mozilla Bug Report dated 2000-04-19 and updated on 2009-11-25, shows “Support the jpeg2000 (jp2k) format” as assigned to “nobody”. The most recent “Comparison of Web Browsers” at Wikipedia shows a near complete lack of support for JPEG 2000.

Rationale

There are several factors involved in the lack of browser support for these file formats. Much of the problem starts with Internet Explorer. If the latest version of IE does not support a given feature, manufacturers of other browsers must decide if it’s worth including the feature in their own browser. Also, competing methods of delivering files, such as Adobe Flash and Microsoft Silverlight, are backed by corporate resources that simply do not exist for technologies which aren’t owned by anyone. In the end, web designers and developers have been left with less open standard resources, which is never the way we want to see things work out.

About the author:
Anthony Celeste is a technical writer, multimedia developer, and Windows programmer. Anthony wrote about color theory and web design in “Corel DRAW 10: The Official Guide”, and covered animation and special effects in “Ulead PhotoImpact 7: The Official Guide”.

Want to test your site every minute?








You will get an email with your login information.

Post comment as twitter logo facebook logo
Sort: Newest | Oldest

MNG has a powerful system of “sprites”, but to specify where to place them, and how they should move from frame to frame, you need a specific MNG-aware animation app, with a nice GUI. Too bad MNG developers never wrote such an application. They thought libmng is enough, but apparently no. Regular users need something with a GUI. JPEG 2000 is used in some places, like NASA website. They let you download huge images in JPEG 2000, so you can work with them later offline. Lots of desktop applications - viewers, editors, support JPEG 2000, so it's not a problem.

Trackbacks

  1. [...] Promising web file formats that never took off [...]

The 10 most iPad-friendly countries in the world

iPadDo you live in a country that loves Apple’s iPad? Most of us probably think we do, but we wanted to be able to tell you for sure. So even though we have written about the iPad many times before, it’s now time for us to tackle this hotly contested topic again.

Read on to find out, which countries are the most iPad-friendly.

Perhaps you live in one of them.

Read more

vector graphics

Display resolutions are increasing every year, something that’s being taken to its extreme with the recent “retina display” trend that came with the latest iPad. The jump in onscreen pixels is massive, and such displays are soon bound to make their way into regular laptops and desktop displays, perhaps as soon as this year.

This development will have a profound effect on the size of the graphics resources necessary for websites, which ultimately will make websites bigger, more bloated and slower to download. That is, if we don’t change tactics.

Read more

Top 10 Facebook winners and losers (countries)

Facebook likeThe juggernaut that is Facebook is quickly approaching 1 billion users, so the social network is growing at a rapid pace overall.

But if we look at some of the latest figures available, it would seem that Zuckerberg’s creation is not gaining users in every corner of the world.

In fact, in one country, Facebook has lost 16% of its users over the last six months, the equivalent of over 200,000 users. But in another country, Facebook has gained almost 17 million users over the same period.

What countries are we talking about, you ask? Read on and we’ll tell you.

Read more

UbuntuDevelopers who want a portable computer to code on, which is thin, light, sleek and yet powerful, may now be getting another option in an ultrabook from Dell. What makes the “Sputnik” ultrabook different is that it runs Ubuntu 12.04 Linux and it’s tailor-made for developers.

Every Friday we bring you a collection of links to places on the web that we find particularly newsworthy, interesting, entertaining, and topical. We try to focus on some particular area or topic each week, but in general we will cover Internet, web development, networking, performance, security, and other geeky topics.

Read more

A day in the life of Pingdom – join us May 15

A day in the life of Pingdom

“Photograph what is close to you. Share it with the world!“ That’s one of the headlines on Aday.org, a global project that will attempt to document what goes around the world in one day.

This all takes place on Tuesday May 15, 2012, and Pingdom will be participating.

Read more