Friday, June 11, 2010

Animated .png images? What!?

In late 2007, PHUG, an open source community had the opportunity to meet Andrew Smith one of the key developers of APNG. Eager to get involved and expand on the open source community, PHUG placed it's initiative into the contribution of the APNG open source project. Our goal is to educate both open source commercial developers and designers on the beneficial aspects of using the APNG specification. As this project evolves, we hope to expand and build on the ever growing open source community, with designers and developers devoted to producing APNGs, tutorials, workshops, and more. Our hopes are to eventually incorporate APNGs into much more than banners and ads, such as menu alternatives!
If you're anything like me, you're absolutely astounded that anyone would create an animated .png right now. Traditionally .gif files are what have been used for animations. Don't fret though. There's actually some good reasons for an animated .png! I'm going to discuss the advantages here.

First, let's discuss the difference between a .png and a .gif

A .gif is typically used for animations, and isn't that great compared to a .jpg for static images due to lower quality. .gif is rather low quality, and an extremely old standard for animations. Though some might say they love the .gif and I agree, it's very nice, an upgrade cannot hurt.

A .png is typically used for static images, and destroys a .jpg in terms of quality typically. From my experience, a .png will give you as near perfect quality as you can get these days out of the common file types.  It also supports transparency, unlike a .jpg. A .png's one weakness is that the file size is often significantly larger than other file type alternatives. It's not unbearable, but nobody likes loading an image with a huge file size.

Now on to why animated .png is an upgrade from animated .gif

Reason #1: Higher Quality
Rather obvious, the higher quality of a .png is a nice boost for making beautiful animations.

Reason #2: .gif actually only supports limited transparency
In a .gif, a pixel is either transparent or not. In a .png, however, a pixel can be, say, orange, and 50% transparent. This makes for far more flexible images and built in image opacity.

What about file size? I'm actually not sure what the relative file size is. I'd assume an animated .png will be larger than an equivelent animated .gif. However, it probably won't be unbearable and will still be an awesome new format for the web.

Did you know?
Firefox already supports animated .png. Unfortunately other browsers such as Chrome and IE do not. Try going to http://animatedpng.com/index.php/category/samples/ with Firefox to see animated .png in action. It will even give you some comparison's to .gif animations.

Here's a filesize of a direct comparison between the first animation comparison on the page.

.gif : 24.33 KB
.png 112.95 KB

As you can see, the png is a lot bigger. But 112.95 KB is still not that bad in today's world unless you're using dialup. This is why I say it will not be unbearable. Note that the .png version looks a LOT better. (Check the site for yourself!)

Wolfram Alpha - Diversity in the Search Engine world?

Wolfram Alpha is a search engine, the primary use of which is research. You type your question in, it analyzes it, and gives you an answer. What I think is the most impressive thing about Wolfram Alpha is that it works on older browsers, recognizes questions incredibly well, and has lots of info to give. Some of the most awesome things you can do with Wolfram Alpha are looking up dates, math of all sorts, geographic locations, and other things of the sort.

It's a source of information far more relevant in some instances than Google, Bing, or any of the older conventional search engines. That's not to say it stands a chance of  dethroning any of the other search engines from their respective thrones (or lack there-of). The new search engine doesn't really help you find websites, and it's image search capability is highly limited. It specializes in providing data, and while it does an incredibly impressive job if this it definitely doesn't have what it takes to be the search engine.

One thought however is that it could replace Google in things like schools, where Google can sometimes be abused to search for things irrelevant to the student's education. It could also earn it's own seat on the Search Engine scene, and though it will have difficulty dominating it, it can certainly hope to stand side by side with other search engines as being useful and advantageous to use regardless of whether you use other search engines.

I think that Wolfram Alpha has certainly earned it's place in fame, and that schools should take advantage of it's relevant, data-focused interface. A student can't find, say, video games on Wolfram Alpha. It can't find internet forums or chatrooms. It only handles data, and images directly relevant to the data searched for, such as graphs or maps.

Give Wolfram Alpha a try for yourself at http://www.wolframalpha.com/. Try searching your birth date, or finding a complex math formula for the site to evaluate. Even browsers as old as Internet Explorer 6 can handle the site, though just barely, and you will get a warning.