September 16, 2007

EUROPA - Web Accessibility Policy

Filed under: — admin @ 9:35 am

Through various research programmes, the European Commission has been addressing the needs and requirements of people with disabilities and financing different web accessibility projects for over ten years.

One of the projects financially supported by the European Commission is the Web Accessibility Initiative (WAI) project, which contributes to promoting and developing guidelines and recommendations for web access for all. The WAI forms part of the World Wide Web Consortium (W3C), which receives funding from a number of sources, notably from Europe, the United States, and Japan.

In parallel, in June 2000, the eEurope Action Plan 2002 was adopted by the Feira European Council. One of its objectives is to achieve an Information Society for All European citizens on-line in all aspects of their lives. One of the specific targets of the Action Plan is to improve web access for people with disabilities and, of course, to adopt and implement the results of the Web Accessibility Initiative project.

On September 25, 2001 the Commission adopted the Communication ‘eEurope 2002: Accessibility of Public Web Sites and their Content’ Pdf [102 KB], which aims to make websites more accessible to older people and people with disabilities.

In June 2002, the Seville European Council launched the eEurope 2005 Action Plan. One of its main objectives is to give everyone the opportunity to participate in the global information society.

In 2003, the European Commission and disability movement organised the European Year of People with Disabilities to improve the lives of those of us with disability and to highlight disability barriers and discrimination.

On 13 September 2005 a new EC Communication on eAccessibility Pdf [193 KB] was adopted following a public consultation at the beginning of the same year. Following on from the Communication, a study spanning 2005 to 2006 will identify and evaluate measures that have a significantly positive impact on eAccessibility and support the Community eAccessibility strategy. The results of the study will be available in early-2007. An overall evaluation of all previous policy initiatives will follow in order to establish, if necessary, additional measures and legislation. It will also contribute to the upcoming “2008 European Initiative on eInclusion”.

With respect to the EUROPA server, the European Commission has decided to adopt level A (Priority 1) conformity for new and updated websites. For more details please consult the Web Content Accessibility Guidelines 1.0(WCAG).

Although some top level EUROPA sites already meet the terms of this (basic) level of compliance, the European Commission continues to move forward achieving conformity for a great deal of its existing subsites.

Detailed specifications for the creation of accessible web content for the EUROPA server can be found in Rule 7 of the European Commission’s “Information Providers’ Guide” (IPG).

Notice (to the attention of keyboard-employing users) regarding the language dropdown menu

Keyboard users should use the “ALT+down arrow” keystroke to open and view the list of available languages.

This mechanism of language selection is employed instead of including an additional button next to the menu in order to improve usability. This eliminates the need for mouse-employing users to click twice to make a language selection.

A ” Level A ” conformance logo appears on some (top level) EUROPA pages.
This logo indicates that these pages, as well as (some of) their subpages, were designed with accessibility in mind.
However, in spite of continuous efforts to monitor these pages, full “Level A” compliance cannot be guaranteed at all times.
Policy - update

This policy applies to all new and updated web pages on the EUROPA server.
It will be reviewed in the future and adapted to any future versions of the W3C’s Web Content Accessibility Guidelines.

Source: Europa


PNG (Portable Network Graphics) Specification

Filed under: — admin @ 9:39 am

This document has been reviewed by W3C members and other interested parties and has been endorsed by the Director as a W3C Recommendation. It is a stable document and may be used as reference material or cited as a normative reference from another document. W3C’s role in making the Recommendation is to draw attention to the specification and to promote its widespread deployment. This enhances the functionality and interoperability of the Web.

A list of current W3C Recommendations and other technical documents can be found at http://www.w3.org/pub/WWW/TR/.

The Consortium staff have encouraged the development of PNG, as have Compuserve, Inc. Most of the work has been done by the PNG Development Group, png-group@w3.org. The Consortium does not currently have plans to work on any future versions of PNG, though were the necessity to arise, and were an activity in that area to receive the support of Members, the Consortium could in principle support some future activity.

Abstract

This document describes PNG (Portable Network Graphics), an extensible file format for the lossless, portable, well-compressed storage of raster images. PNG provides a patent-free replacement for GIF and can also replace many common uses of TIFF. Indexed-color, grayscale, and truecolor images are supported, plus an optional alpha channel. Sample depths range from 1 to 16 bits.

PNG is designed to work well in online viewing applications, such as the World Wide Web, so it is fully streamable with a progressive display option. PNG is robust, providing both full file integrity checking and simple detection of common transmission errors. Also, PNG can store gamma and chromaticity data for improved color matching on heterogeneous platforms.

This specification defines a proposed Internet Media Type image/png.

Source: W3C


Visual Communication Resources

Filed under: — admin @ 9:41 am

Altavista.com
Use Altavista to search for images, MP3/Audio or Video files. MP3/Audio and video file searches can be limited by duration (less than a minute, more than a minute).

adFlip
“adflip.com is the world’s largest searchable database of classic print ads. You can search by category, by decade [from the 1940s], even by year. The ‘what are you looking for’ search box allows you to type in a brand name and even a specific model name. We won’t guarantee that you will always get a match, but you may be surprised at what is lurking deep in our archives.” To take full advantage of the site, membership is required.

American Memory from the Library of Congress
“American Memory provides free and open access through the Internet to written and spoken words, sound recordings, still and moving images, prints, maps, and sheet music that document the American experience.” Although the Library of Congress provides some copyright information about the items in this collection, “it is the researcher’s obligation to determine and satisfy copyright or other use restrictions when publishing or otherwise distributing materials found in the Library’s collections.”

Clip Art, Sounds and Fonts Galore
Created by Earl Sande, Secondary School Librarian, International School of Tanganyika. Part of the Educational CyberPlayground.

ClipArt Searcher
Provides a page of forms to search several search engines for photos, fonts, animations and clip art.

Creative Commons
You can search for audio, video, images, text, and more. “Creative Commons offers a flexible range of protections and freedoms for authors and artists. We have built upon the “all rights reserved” of traditional copyright to create a voluntary “some rights reserved” copyright. We’re a nonprofit. All of our tools are free.” Creative Commons also offers a search tool.

Ditto.com
Self-described as “the world?s leading visual search engine.” “Ditto provides visual search of the web using pictures. Users are linked to the originating web site on which the pictures are located. Should you wish to use any picture, photo or artwork you see during the search process, you must obtain the appropriate permission from the owner of the material.”

DK Clip Art
Dorling Kindersley, British market leader in illustrated non-fiction publishing, provides a “mini site will help support class and homework activities with downloads of DK’s famous photographs that can be included in your school projects.”

Finding Images on the Web
Compiled by Ruth S. Thomas, Art/Art History Bibliographer, Mugar Memorial Library, Boston University Libraries

FindSounds
“A free site where you can search the Web for sound effects and musical instrument samples.”

Flickr.com
This photo sharing site requires free registration for use. Designed to assist people in sharing photos with family and friends, it is also a great place to search for photos. Site managers encourage you to “Look around, see whose photos you like. Check out The Flickr Blog, which has great photos daily, or keep an eye on the page with Everyone’s photos.”

Free Graphics, Clip Art, Icons
A compilation of links to graphics collections, including Eyewire and Microsoft and to search engines, such as Yahoo. Part of the Meriam Library Digital Media Bank at Chico State University, the unnamed compiler states: “I tended to skip or de-emphasize sites with backgrounds files, gif animations, lines, bars and rules.”

FreeFoto.com
“The photographs are free to private non-commercial users and for sale to other users.”

Google
Use the Images search to find graphics. Some may be copyrighted. Advanced Search options will focus your search, allow you to choose file types and sizes, and filter mature content.

Stock.xchng
Known as the “leading free stock photography site.” Photographers can share their photographs with others. Collection is browsable by subject. The gallery contains “over 100,000 quality stock photos by more than 9,000 users.”

Library Databases
ACC Library Services subscribes to several databases that offer image searching. You can use some of these images for ideas, but if you wanted to manipulate the original for a project, it would be best to acknowledge the source of it. Many of these are from API and other news sources. To get to the databases, begin at the library home page, then select A-Z List of Resources under Find Articles and Research Information. From that list, you might choose: Academic Search Premier, AccessScience, eLibrary, MasterFILE Premier, and Military & Government Collection. The eLibrary database offers audio and video as well as images.

Lycos Multimedia Search
You can choose to block offensive content before searching. If you do not choose “Always” from the block options, you must read and agree to the terms of the “Warning” page regarding mature content to continue a search.

Merriam Library Graphics Sources
from Chico State Library.

Microsoft Office Clip Art and Media Home Page
The site provides a list of topics you can be browsed by category or, you can search the collection and limit your search by type of resource: clip art, photos, animations, sounds, etc. You can also suggest new content.

morgueFile.com
This site, which contains high-resolution digital stock, is maintained by Michael and Kevin Connors “to provide free image reference material for use in all creative pursuits.” “The morguefile contains photographs freely contributed by many artists to be used in creative projects by visitors to the site. To acknowledge the artist’s accomplishments, we ask that you credit the photographer when possible.”

National Geographic Online
Long recognized for the stunning photography that accompanies its articles, the online site provides a photography section that features photo galleries by subject and more.

Northridge Library maintains a file of pictures from magazines, pamphlets, book jackets, and other sources on various topics. The items are arranged alphabetically by subject in filing cabinets and can be borrowed for two weeks.

The NYPL Picture Collection Online
“The digital collection of images presented here … is taken from the in-print collection of images that New York Public Library has been collecting since 1915. …the organization and cataloging of the online collection is what makes these images so valuable. Users can browse the collection by name, title, subject, and author, and quick and advanced search options are available. The subject and physical descriptors for each image are extensive, and a source is given for each image. Images can be added to a ‘My Gallery’ save function for viewing or ordering, and can be printed, emailed or saved to disk. Users who wish to order images for commercial use may do so by paying a fee to cover the cost of permissions and licensing.” [ALA|MARS Best Ref 2004, Reviewed 9 March 2004]

PhotoObjects.net
Royalty-free stock photograph images that already have clipping paths “and ready to drop into any background, combining high-resolution stock photo image quality with the simplicity of vector art.” Images can be searched by keyword, by category and by color. This new search option may retrieve “photo object images you may not have found by using the more traditional keyword or category searches.” Requires a subscription or pay-per-download.

Pics4Learning.com
Has photographs and an “ImageBlender” where you can edit digital images. “Copyright friendly images for education” available for use in teacher or student projects.

Picture History
“Describing itself as a ‘?digital library of high quality images and footage illustrating more than 200 years of American history,’ this site has indexed still images of maps, postcards, photographs, cartoons, stereo cards, periodicals, and more, in addition to video and audio clips. The resources can be accessed through rather broad categories, simple keyword searches, or by using the very good advanced search tool, which allows keyword searches to be limited by such attributes as date, medium, color, broad subject area, original format, or photographer. Images can be licensed, purchased or sent as a free e-card from the website.” [ALA|MARS Best Ref 2004, Reviewed 23 March 2004]

Public libraries have collections of children’s books that include many of the topics one would find in books for adults, as well as picture books and fantasy literature. Books for very young children, in particular, are usually heavily illustrated with drawings or photographs and are a great resource for artists and designers.

Retrographix
Free retro clipart from common graphics stock supplied for use in advertising sections of newspapers. © 2003 Robert J. Falk

WebSEEk: Content-based Image and Video Search and Catalog Tool for the Web.
Developed by John R. Smith at the Digital Video and Multimedia Lab at Columbia University under the supervision of Prof. Shih-Fu Chang, “WebSEEk is a new effort to catalog the visual information on the World Wide Web. WebSEEk has so far catalogued over 650,000 images and videos from many sites on the WWW, and maybe even your own!” Search by topic, type (graphic, video, gray images, color photos). Images found can be further manipulated by clicking on either: col–”search the image/video list by color using this item,” web–”search the whole WebSEEk catalog by color using this item,” or his–”manually tweak this item’s histogram to make another search (Java).”

Yahoo! Creative Commons Search
In Beta testing (as of July 8, 2005), this utility limits searches to audio, images, text, video, and other formats that are free to share online and whose authors allow you to re-use it for some purposes without paying royalties or asking permission. Creative Commons also offers a search tool, but Yahoo! seems to cover more sites with more content. Yahoo! also offers search limits for “content I can use for commercial purposes” and “content I can modify, adapt, or build upon.” (Greg Notess, “Internet Search Engine Update,” Online, July/August 2005, p.15).

Source : Austin Community College


Synchronized Multimedia Integration Language (SMIL) 1.0 Specification

Filed under: — admin @ 9:42 am

This document specifies version 1 of the Synchronized Multimedia Integration Language (SMIL 1.0, pronounced “smile”). SMIL allows integrating a set of independent multimedia objects into a synchronized multimedia presentation. Using SMIL, an author can:

  1. describe the temporal behavior of the presentation
  2. describe the layout of the presentation on a screen
  3. associate hyperlinks with media objects

This specification is structured as follows: Section 2 presents the specification approach. Section 2 defines the “smil” element. Section 3 defines the elements that can be contained in the head part of a SMIL document. Section 4 defines the elements that can be contained in the body part of a SMIL document. In particular, this Section defines the time model used in SMIL. Section 5 describes the SMIL DTD.

Status of this Document

This document is a W3C Working Draft produced by the W3C Working Group on Synchronized Multimedia (SYMM). This document is [soon to be] undergoing review by the Members of the World Wide Web Consortium. It is a stable document derived from a series of working drafts produced over the last year as deliverables of the Synchronized Multimedia activity. Details of this review have been distributed to Member’s representatives.

For most of the features in this specification, interoperability of independently developed implementations has been demonstrated at an interoperability meeting. Implementation of the remaining features is in progress. Endorsement of this specification as a W3C Recommendation is contingent on demonstration of interoperability for the remaining features.
Specification Approach

SMIL documents are XML 1.0 documents [XML10]. The reader is expected to be familiar with the concepts and terms defined in XML 1.0.

This specification does not rely on particular features defined in URLs that cannot potentially be expressed using URNs. Therefore, the more generic term URI [URI] is used throughout the specification.

The syntax of SMIL documents is defined by the DTD in Section 5.2. The syntax of an attribute value that cannot be defined using the DTD notation is defined together with the first element using an attribute that can contain the attribute value. The syntax of such attribute values is defined using the Extended Backus-Naur Form (EBNF) defined in the XML 1.0 specification.

An element definition is structured as follows: First, all attributes of the element are defined in alphabetical order. An attribute is defined in the following way: If the attribute is used by an element for the first time in the specification, the semantics of the attribute are defined. If the attribute has already been used by another element, the specification refers to the definition of the attribute in the first element that used it. The definition of element attributes is followed by the definition of any attribute values whose syntax cannot be defined using the DTD notation. The final section in an element definition specifies the element content.


WCAG, Web Content Accessibility Guidelines 2.0

Filed under: — admin @ 9:43 am

W3C accessibility group released WCAG 2.0 Working Draft, the last call for reviewers to send their comments and suggestions on different issues for the new standard. The latest recommendation WCAG 1.0 was published on May 1999, and I think the 2.0 recommendation will be ready by end 2008 since there should be first a Candidate Recommendation then Proposed Recommendation before make it final.

Web Content Accessibility Guidelines 2.0 (WCAG 2.0) covers a wide range of issues and recommendations for making Web content more accessible. This document contains principles, guidelines, and success criteria that define and explain the requirements for making Web-based information and applications accessible. “Accessible” means usable to a wide range of people with disabilities, including blindness and low vision, deafness and hearing loss, learning difficulties, cognitive limitations, limited movement, speech difficulties, photosensitivity and combinations of these. Following these guidelines will also make your Web content more accessible to the vast majority of users, including older users. It will also enable people to access Web content using many different devices - including a wide variety of assistive technologies.

Web Accessibility Initiative

Use WAI’s guidelines to make your site accessible and to improve usability of Web sites for people with disabilities, one group has created guidelines for developers. See how these guidelines can help you develop a more usable product.Many developers don’t realize that there is federal legislation that addresses accessibility standards for disabled individuals in the procurement and use of…

Continue to read article on PhpMagazines


A Basic Introduction to PNG Features

Filed under: — admin @ 9:45 am

This page is intended to provide an explanation of some of the features of the PNG format for non-technical users. As such, it doesn’t emphasize PNG features like freedom from patents; those are more of concern to developers. Where programmer information is given, it is principally to explain to the user why various applications may not perform as well as expected. Where performance claims are made–especially compression comparisons with other image formats–we assume that the PNG implementation is at least as good as the best freeware encoders. Note that this is currently not necessarily a valid assumption in the case of a number of popular (and expensive) image editors, but it’s not always clear where the problem lies.

Typical Usage of PNG

The Portable Network Graphics (PNG) format was designed to replace the older and simpler GIF format and, to some extent, the much more complex TIFF format. (See the main page or the history page for background information.) Here we’ll concentrate on two major uses: the World Wide Web (WWW) and image-editing.

For the Web, PNG really has three main advantages over GIF: alpha channels (variable transparency), gamma correction (cross-platform control of image brightness), and two-dimensional interlacing (a method of progressive display). PNG also compresses better than GIF in almost every case, but the difference is generally only around 5% to 25%, not a large enough factor to encourage folks to switch on that basis alone. One GIF feature that PNG does not try to reproduce is multiple-image support, especially animations; PNG was and is intended to be a single-image format only. (A very PNG-like extension format called MNG was finalized in mid-1999 and is beginning to be supported by various applications, but MNGs and PNGs will have different file extensions and different purposes.)

For image editing, either professional or otherwise, PNG provides a useful format for the storage of intermediate stages of editing. Since PNG’s compression is fully lossless–and since it supports up to 48-bit truecolor or 16-bit grayscale–saving, restoring and re-saving an image will not degrade its quality, unlike standard JPEG (even at its highest quality settings). And unlike TIFF, the PNG specification leaves no room for implementors to pick and choose what features they’ll support; the result is that a PNG image saved in one app is readable in any other PNG-supporting application. (Note that for transmission of finished truecolor images–especially photographic ones–JPEG is almost always a better choice. Although JPEG’s lossy compression can introduce visible artifacts, these can be minimized, and the savings in file size even at high quality levels is much better than is generally possible with a lossless format like PNG. And for black-and-white images, particularly of text or drawings, TIFF’s Group 4 fax compression or the JBIG format are often far better than 1-bit grayscale PNG.)

Like GIF and TIFF, PNG is a raster format, which is to say, it represents an image as a two-dimensional array of colored dots (pixels). PNG is explicitly not a vector format, i.e., one that can store shapes (lines, boxes, ellipses, etc.) and be scaled arbitrarily without any loss of quality (generally speaking). For that you probably want SVG or PostScript. (There are some private extensions to PNG that add vector information in addition to PNG’s regular pixels–Macromedia’s Fireworks does something along those lines–but no valid PNG may omit the pixel data.)

PNG Compression

PNG’s compression is among the best that can be had without losing image information and without paying patent fees, but not all implementations take full advantage of the available power. Even those that do can be thwarted by unwise choices on the part of the user.

PNG supports three main image types: truecolor, grayscale and palette-based (”8-bit”). JPEG only supports the first two; GIF only the third (although it can fake grayscale by using a gray palette). The impact on compression comes from the ability to mix up image types in PNG. Specifically, forcing an application to save an 8-bit palette image as a 24-bit truecolor (or “RGB”) image is not going to result in a small file. This may be unavoidable if the original has been modified to include more than 256 colors (for example, if a continuous gradient background has been added), but many images intended for the Web have 256 or fewer colors.

On the programmer’s side, one common mistake is to include too many palette entries in a PNG image. This error is most noticeable when converting tiny GIF images (bullets, buttons, etc.) to PNG format; these images are typically only 1000 bytes or so in size, and storing 256 three-byte palette entries where only 50 are needed would result in over 600 bytes of wasted space.

Another common programmer mistake is to use only one type of compression filter, or to vary them incorrectly. Compression filters are described below and can make a dramatic difference in the compressibility of the image. In general this is not a feature that users should be forced to experiment with.

Finally, the low-level compression engine itself can be tweaked to compress either better or faster. Often “best compression” is the preferred setting, but an implementor may choose to use an intermediate level of compression in order to boost the interactive performance for the user. Usually the difference in file size is small, but there are cases where such a choice can make a big difference.

See the zlib home page for further details on PNG’s compression engine and the CRC-32 algorithm, the 7-Zip home page for an alternative implementation of the deflate algorithm, and Vince Sabio’s Compression Primer for an overview of compression in general. For tools to optimize the compression of PNG images, see the converters page (especially Glenn Randers-Pehrson’s pngcrush and Ulead’s SmartSaver).

PNG Compression Filters

Compression filters are a way of transforming the image data (losslessly) so that it will compress better. Each horizontal line in the image can have one of five filter types associated with it; choosing which of the five to use for each line is almost more of a black art than a science. Nevertheless, at least one reasonably good algorithm is not only known but also described in the PNG specification and implemented in freely available software. Other algorithms are likely to perform even better, but so far this has not been an active area of research.

By way of example–admittedly an extreme and unrealistic case*–a 512 x 32,768 image containing all 16,777,216 possible 24-bit colors compressed over 300 times better with filtering than without. The uncompressed image was 48 MB in size; the compressed-but-unfiltered version was around 36 MB; but the filtered version is only 115,989 bytes (0.1 MB). Yow. (A 4096 x 4096 version, created by Paul Schmidt, is a mere 59,852 bytes–more than 600 times better than the unfiltered version, at an overall compression ratio of 841:1. Ted Samuels ran it through Ken Silverman’s PNGOUT utility–see the converters page for links to it and other optimizers–and trimmed it to 57,549 bytes, for an overall 875:1 ratio. See this page for a downloadable version and further info.)

A more realistic example is the oceanography data at NASA’s Ocean ESIP site. Digital maps displaying various physical measurements can be generated dynamically in either GIF or PNG format; the PNG versions are invariably one-fifth the size of the GIFs, thanks to PNG’s compression filters. For example, a map showing the surface height of the northeastern Pacific Ocean on 1 August 1997 (during a major El Niño) is 70,090 bytes in GIF format but only 13,880 bytes in PNG format.

See the Filter Algorithms chapter of the PNG specification for details.

* As a measure of just how unrealistic, note that these seemingly hyper-compressed PNG images can themselves be compressed by an additional factor of anywhere from 21 to 97 or so (depending on which image) simply by applying gzip to them. Of course, a gzip’d PNG is not terribly useful in most contexts, and MNG is the best of all–it drops the size to 456 bytes.

PNG Alpha Channels

Also known as a mask channel, an alpha channel is simply a way to associate variable transparency with an image. Whereas GIF supports simple binary transparency–any given pixel can be either fully transparent or fully opaque–PNG allows up to 254 levels of partial transparency in between for “normal” images (or 65,534 levels for the special “deeply insane” formats, but here we’re concentrating on image depths that are useful on the Web).

All three PNG image types–truecolor, grayscale and palette–can have alpha information, but it’s most commonly used with truecolor images. Instead of storing three bytes for every pixel (red, green and blue), now four are stored: red, green, blue and alpha, or RGBA. The variable transparency allows you to create “special effects” that will look good on any background, whether light, dark or patterned. For example, a photo-vignette effect can be created for a portrait by making a central oval region fully opaque (i.e., for the face and shoulders), the outer regions fully transparent, and a transition region that varies smoothly between the two extremes. When viewed with a Web browser such as Arena, the portrait would fade smoothly to white when viewed against a white background, or smoothly to black if against a black background. Drop-shadows are another ideal application for alpha transparency; in the images below, the same toucan image is displayed against a colorful background and against another copy of itself:

[RGBA toucan viewed with rpng2 -bgpat 14] [RGBA toucan overlaid on itself against a pink background]
Stefan Schneider’s shadow-casting toucan displayed against different backgrounds

This transparency feature is far more important for the small web graphics that are typically used on web pages, such as colored (circular) bullets and fancy text. Alpha blending allows one to use anti-aliasing–creating the illusion of smooth curves on a grid of rectangular pixels by smoothly varying the pixels’ colors–to make rounded and curved images that look good against any background, not just against a white background (for example). Thus the same image can be reused in many places without the “ghosting” effect that occurs with GIFs.

Of course, effective replacements for GIF buttons and icons must be comparable in size as well, and that mostly rules out truecolor RGBA images. But PNG supports alpha information with palette images as well; it’s just slightly harder to implement in a smart way. A PNG alpha-palette image is just that: an image whose palette also has alpha information associated with it, not a palette image with a full alpha mask. In other words, each pixel corresponds to an entry in the palette with red, green, blue and alpha components. So if you want to have bright red pixels with four different levels of transparency, you must use four separate palette entries to accommodate them. (All four entries will have identical RGB components, but the alpha values will differ.) If you want all of your colors to have four levels of transparency, you’ve effectively reduced your total number of available colors from 256 to 64. In general, though, only some of the colors need more than one level of transparency, and recognizing which ones is where things get tricky for the programmer. (If you don’t want to trust your local programmer, have a look at pngquant, which converts 32-bit RGBA PNGs into 8-bit RGBA-palette images. If you are a programmer, also have a look at it; full source code is included.)

For a better explanation with some nice sample images, see the Anti-aliasing and Transparency chapter of Chris Lilley’s excellent WWW4 paper, Not Just Decoration: Quality Graphics for the Web.

PNG Gamma Correction

Gamma correction basically refers to the ability to correct for differences in how computers (and especially computer monitors) interpret color values. Web authors in particular are probably aware that Macintosh-generated images tend to look too dark on PCs, and PC-generated images tend to look too light on Macs. An image that looks good on an SGI workstation won’t look right on either a Macintosh or a PC, and even a PC-created image won’t look right on all PCs.

Gamma information is a partial solution. It’s a means of associating a single number with a computer display system, in an attempt to characterize the tricky physics lurking within a graphics card’s digital-to-analog converter (RAMDAC) and within a monitor’s high-voltage electron gun. Gamma is only an approximation; a better approximation is to use so-called chromaticity values (also supported by PNG) as well as gamma, but even this is an approximation. The absolute best solution currently available is to use a complete color management system (which, again, PNG supports via the sRGB extension chunk). For most people, however, just supplying the gamma value of the image and correcting for the corresponding gamma value of the monitor system is sufficient.

For further information, see Chris Lilley’s tutorials on gamma, chromaticity and color management, or the Gamma Tutorial appendix in the PNG specification. For more detailed technical information, see Charles Poynton’s Gamma and Color FAQs, the International Color Consortium home page, the sRGB home page, John Denker’s extensive color management page, or Chris’s chapter on gamma correction (and subsequent chapters) in Not Just Decoration: Quality Graphics for the Web. (Gamma logo courtesy of Claus Cyrny.)

PNG Interlacing

Interlacing–or, more generally, progressive display–has been around a long time. GIF has supported it since 1989, TIFF since around the same time (though not in any standardized way), and JPEG since the early 1990s (though it wasn’t widely implemented until 1996). PNG’s method is conceptually similar to GIF interlacing and visually similar to progressive JPEG (i.e., two-dimensional).

Here is a GIF animation by Willem van Schaik that shows some of the benefits of PNG’s 2D interlacing scheme over GIF’s one-dimensional version:

PNG’s 2D interlacing (left) compared with GIF’s 1D interlacing (right)

The first thing to notice is that only the top one-eighth or so of the GIF image is visible by the time the PNG image’s first pass is complete. PNG’s first pass is only 1/64th of the image data; GIF’s is 1/8th. By the time GIF’s first pass is done, four PNG passes have been displayed–and unlike the GIF pixels, which are stretched by a factor of 8:1 at this point, the PNG pixels are only stretched by 2:1. (Indeed, there is no stretching at all in PNG’s odd-numbered passes, and its even passes are all stretched by 2:1 vertically. This means that embedded text in an image is typically readable about twice as fast in a PNG image.)

Also note that PNG’s seventh pass and GIF’s fourth pass are identical–both consist of every other scanline. They each therefore represent fully one half of the image data and one half of the decoding time. (The relative timing in the animation above has been adjusted to emphasize the earlier passes over the later ones.)

Check out the PNG interlacing demo for a “zoomed” look at how PNG’s interlaced pixels are displayed, or see the Data Representation chapter of the PNG specification for details of PNG’s interlacing scheme.

File Integrity Checks

PNG supports three main types of integrity-checking to help avoid problems with file transfers and the like. The first and simplest is the eight-byte magic signature at the beginning of every PNG image. It will detect the most common type of file corruption: that due to the transfer of a binary file in text (or “ASCII”) mode. On most systems, line-endings in text files are flagged by either a carriage-return character (CR), a line-feed character (LF), or both. Macintoshes use CRs; Unix systems use LFs; and all non-Unix PC systems (DOS, Windows 3.x/95/NT, OS/2) use CR/LF pairs. PNG’s magic signature cleverly includes both a CR/LF pair and a single LF. Thus when transferring in text mode to a DOS box, for example, the bare LF will acquire a matching CR; when transferring to a Unix system, the CR/LF pair will turn into a plain LF; and when transferring to a Macintosh, both the CR/LF and the bare LF will probably turn into plain CRs. It’s then a simple matter of looking at the first eight or nine bytes in the file to see whether text-corruption occurred (which is exactly the sort of thing the Unix file(1) command is designed to do). Keep in mind that messing up the signature isn’t that big a deal; the real problem is that CR and LF characters in the image data–which don’t have anything to do with line endings or text but instead refer to pixel values or more abstract compressor tokens–will also be converted, thus destroying the image.)

The second type of integrity-checking is known as a 32-bit cyclic redundancy check or CRC-32. PNG images are divided up into logical data chunks, and each chunk has an associated CRC stored with it. If even one bit in the chunk changes, the CRC value one would calculate from the damaged data will no longer match the stored CRC value from the original chunk data. This sort of thing can easily be tested without decoding the image; in fact, it can be tested on the fly, as the image is downloaded, if the downloading software is smart enough.

The third type of integrity check applies only to the image-data chunk(s) and is similar to the CRC values. Where an image chunk’s CRC value applies to the filtered, compressed data in the chunk, the Adler-32 checksum applies to the complete stream of uncompressed data (regardless of how many image chunks that might span). It’s really only used by the lowest-level compression library as a check against bad encoding and decoding software.

Pronunciation

No detail was too small for consideration in the authors’ quest for a near-perfect image format; yea, verily, even the acronym and pronunciation were major topics of discussion. The reason, of course, is the GIF format; some pronounce it with a soft G like giraffe, some with a hard G like gift, and no one really knows what they’re talking about. (For the record, the soft G is correct; it is how the author of the format pronounces it.)

“PNG” is always spelled* “PNG” (or “Portable Network Graphics”) and always pronounced “ping” in English, not “pinj” or “pee en gee” or any other multi-syllabic disaster. (For non-English speakers, the three-letter pronunciation is fine, however.) See the introduction to the PNG specification (or the Scope section of the newer ISO/IEC/W3C version) for the definitive statement on the matter.

Source : http://www.libpng.org/pub/png/pngintro.html


Amazon aStores allowing CSS customization

Filed under: — admin @ 10:03 am

A cool find by Aaron Gustafson from Webstandards.org, here his post: In a fairly interesting move, Amazon is now allowing aStores to be customized using CSS.

This morning, Amazon announced that their aStore product (part of the selling tools available to folks enrolled in the Amazon Associates program) would allow full customization of the look and feel via CSS. Currently, the interface only allows for approximately 8000 characters of custom CSS, but that level of control is allowed on several of the page types, including product descriptions and search results. On top of that, users can also share these custom “themes” with others.

Of course, the underlying markup of the aStore product leaves a bit to be desired: it is a strange blend of DIVs and TABLEs that offers little semantic value. It’s also not valid HTML, but the validation errors are not difficult to overcome: missing DOCTYPE, unencoded ampersands, etc. (it should be noted, however, that the missing DOCTYPE does throw the page rendering into Quirks Mode, so keep that in mind if you decide to customize an aStore).

Implementation issues aside, the real story here is that a major corporation, like Amazon, is willing to relinquish some control over look and feel of one of their products and that they are using actual CSS to do it rather than relying on a series of color and font pickers (although that is still an option).

What are your thoughts? Would you like to see more products allow this sort of control? What are they doing right? What are they doing wrong? What could be improved? Personally, I’d like to have the ability to customize the markup (microformats anyone?) and then axe the default styles altogether

Read original post on Webstandards.org and post you comments there!


September 17, 2007

What is the Web Accessibility Initiative (WAI)?

Filed under: — admin @ 6:40 pm

The Web Accessibility Initiative (WAI) are a group formed by the W3C (World Wide Web Consortium) that develop strategies, guidelines, and resources to help make the Web accessible to everybody, including those with temporary or permanent disabilities. It has links into the other domains of the W3C and is sponsored by Government agencies and Corporate companies. It is hosted from the W3C bases in US, Europe and Asia.

What is covered in this site?

There are 3 main authoring guides created by the WAI for website accessibility. There are the Web Content Accessibility Guidelines (WCAG), Authoring Tool Accessibility Guidelines (ATAG), and User Agent Accessibility Guidelines (UAAG). In this web site we are going to concentrate on the WCAG 1.0

Isn’t there a WCAG 2.0?

There is a WCAG 2.0, but it is yet to be fully finalised and as such the support for it is not complete. As soon as the WCAG 2.0 is finalised it will be covered in more detail here.

Read more on WAI Compliance


History of the Portable Network Graphics (PNG) Format

Filed under: — admin @ 6:50 pm

The story of PNG actually begins way back in 1977 and 1978 when two Israeli researchers, Jacob Ziv and Abraham Lempel, first published a pair of papers on a new class of lossless data compression algorithms, now collectively referred to as “LZ77” and “LZ78.” Some years later, in 1983, Terry Welch of Sperry (which later merged with Burroughs to form Unisys) developed a very fast variant of LZ78 called LZW. Welch also filed for a patent on LZW, as did two IBM researchers, Victor Miller and Mark Wegman. The result was–you guessed it–the USPTO granted both patents (in December 1985 and March 1989, respectively).Meanwhile CompuServe–specifically, Bob Berry–was busily designing a new, portable, compressed image format in 1987. Its name was GIF, for “Graphics Interchange Format,” and Berry, et al., blithely settled on LZW as the compression method. Tim Oren, Vice President of Future Technology at CompuServe (now with Electric Communities), wrote: “The LZW algorithm was incorporated from an open publication, and without knowledge that Unisys was pursuing a patent. The patent was brought to our attention, much to our displeasure, after the GIF spec had been published and passed into wide use.” There are claims that Unisys was made aware of this as early as 1989 and chose to ignore the use in “pure software;” the documents to substantiate this claim have apparently been lost. In any case, for years Unisys limited itself to the pursuit of hardware vendors–particularly modem manufacturers implementing V.42bis in silicon.

All of that changed at the end of 1994. Whether due to ongoing financial difficulties or as part of the industry-wide bonk on the head provided by the World Wide Web, in 1993 Unisys began aggressively pursuing commercial vendors of software-only LZW implementations. CompuServe seems to have been its primary target at first, culminating in an agreement–quietly announced on 28 December 1994, right in the middle of the Christmas holidays–to begin collecting royalties from authors of GIF-supporting software. The news hit the Internet the following week; what was then the comp.graphics newsgroup went nuts, to use a technical term. As is the way of Usenet, much ire was directed at CompuServe for making the announcement, and then at Unisys once the details became a little clearer. Mixed in with the noise was the genesis of an informal Internet working group led by Thomas Boutell (Reference 2). Its purpose was not only to design a replacement for the GIF format, but a successor to it: better, smaller, more extensible and free.
The Early Days (All Seven of ‘Em)

The very first PNG draft–then called “PBF,” for Portable Bitmap Format– was posted by Tom to comp.graphics, comp.compression and comp.infosystems.www.providers on Wednesday, 4 January 1995. It had a three-byte signature, chunk numbers rather than chunk names, maximum pixel depth of 8 bits and no specified compression method, but even at that stage it had more in common with today’s PNG than with any other existing format.

Within one week, most of the major features of PNG had been proposed, if not yet accepted: delta-filtering for improved compression (Scott Elliott); deflate compression (Tom Lane, the Info-ZIP gang and many others); 24-bit support (many folks); the PNG name itself (Oliver Fromme); internal CRCs (myself); gamma chunk (Paul Haeberli); and 48- and 64-bit support (Jonathan Shekter). The first proto-PNG mailing list was also set up that week; Tom released the second draft of the specification; and I posted some test results that showed a 10% improvement in compression, if GIF’s LZW method was simply replaced with the deflate (LZ77) algorithm. Sidebar 1 is a time-line listing many of the major events in PNG’s history.

Perhaps equally interesting are some of the proposed features and design suggestions that ultimately were not accepted: the Amiga IFF format; uncompressed bitmaps either gzip’d or stored inside zip files; thumbnail images and/or generic multi-image support; little-endian byte order; Unicode UTF-8 character set for text; YUV and other lossy, i.e., non-lossless, image-encoding schemes; and so forth. Many of these topics produced an amazing amount of discussion–in fact, the main proponent of the zip-file idea is still making noise two years later.
Onward, Frigidity

One of the real strengths of the PNG group was its ability to weigh the pros and cons of various issues in a rational manner (well, most of the time, anyway), reach some sort of consensus, and then move on to the next issue without prolonging discussion on “dead” topics indefinitely. In part, this was probably due to the fact that the group was relatively small, yet possessed of a sufficiently broad range of graphics and compression expertise that no one felt unduly “shut out” when a decision went against him. All of the PNG authors were male–a fact that is still true. (I’m sure there’s a dissertation in there somewhere.) But equally important was Tom Boutell, who, as the initiating force behind the PNG project, held the role of benevolent dictator–much the way Linus Torvalds does with Linux kernel development. When consensus was impossible, Tom would make a decision, and that would settle the matter. On one or two rare occasions he might later have been persuaded to reverse the decision, but this generally happened only if new information came to light.

In any case, the development model worked. By the beginning of February 1995, seven drafts had been produced, and the PNG format was settling down. The PNG name was adopted in Draft 5. The next month was mainly spent working out the details: chunk-naming conventions, CRC size and placement, choice of filter types, palette-ordering, specific flavors of transparency and alpha-channel support, interlace method, etc. CompuServe was impressed enough by the design that on the 7th of February they announced support for PNG as the designated successor to GIF, thereby supplanting what had initially been referred to as the GIF24 development project (Reference 3). By the beginning of March, PNG Draft 9 was released and the specification was officially frozen–just over two months from its inception. Although further drafts followed, they merely added clarifications, some recommended behaviors for encoders and decoders, and a tutorial or two. Indeed, Glenn Randers-Pehrson has kept some so-called “paleo PNGs” that were created at the time of Draft 9; they are still readable by any PNG decoder today (Reference 4).

Read more on Linux Journal


September 22, 2007

Call Control Requirements in a Voice Browser Framework

Filed under: — admin @ 9:01 pm

This document describes requirements for mechanisms that enable fine-grained control of speech (signal processing) resources and telephony resources in a VoiceXML telephony platform. The scope of these language features is for controlling resources in a platform on the network edge, not for building network-based call processing applications in a telephone switching system, or for controlling an entire telecom network.

Status of this Document

This section describes the status of this document at the time of its publication. Other documents may supersede this document. The latest status of this document series is maintained at the W3C.

This document describes the requirements for markup used for call control, as a precursor to work on a specification. You are encouraged to subscribe to the public discussion list <www-voice@w3.org> and to mail us your comments. To subscribe, send an email to <www-voice-request@w3. org> with the word subscribe in the subject line (include the word unsubscribe if you want to unsubscribe). A public archive is available online.

This document has been produced as part of the W3C Voice Browser Activity, following the procedures set out for the W3C Process. The authors of this document are members of the Voice Browser Working Group (W3C Members only).

Publication as a Working Draft does not imply endorsement by the W3C Membership. This is a draft document and may be updated, replaced or obsoleted by other documents at any time. It is inappropriate to cite W3C Working Drafts as other than “work in progress”.

1. Introduction

The main goal of this subgroup is to establish a prioritized list of requirements for call control in a voice browser environment.

The process will consist of the following steps:

1. Collect requirements on call control.
2. Prioritize these requirements.
3. Distribute requirements to, and take feedback from, relevant groups working on call control in telephony systems.
4. Define specifications for call control components, based on the feedback received.

1.1 Scope

The core activity focuses on enabling extended call control functionality in a voice browser which supports telephony capabilities. The VoiceXML specification states that “VoiceXML is designed for creating audio dialogs that feature synthesized speech, digitized audio, recognition of spoken and DTMF key input, recording of spoken input, telephony, and mixed-initiative conversations.” This activity will therefore specify richer telephony functionality in a voice browser framework.

The task is constrained to defining elements and capabilities which either provide augmented functionality to be used in combination with VoiceXML or enhance the existing functionality in VoiceXML.

This document specifies requirements that define the capabilities of a voice browser which supports telephony applications.
1.2 Interaction with Other Sub Groups

The activities of the Call Control Subgroup will be coordinated with the activities of the Dialog Subgroup (both of which are part of the W3C Voice Browser working group).

Source : http://www.w3.org/TR/call-control-reqs/


« Previous PageNext Page »

 
 
ERP systemen
Alle ERP-systemen op een rij, compleet met ERP-nieuws en ERP-software informatie.
www.ERPcentraal.nl
ERP systemen
Alle ERP-systemen op een rij.
www.erpmatrix.nl


Quick Links
Our Friends
Cool Places
Visit also
About Us