Slicing (web design)

In web development, slicing is the process of dividing a single web page user interface composition layout (web page comp) into multiple image files (digital assets) of the graphical user interface (GUI) for one or more web pages. Therefore, this is a very important skill set typically possessed by front end developers; that is web developers who specialize in user interface development. Slices may be produced and used in several different ways.

It is typically part of the client side development process of creating a web page and/or web site, but is also used in the user interface design process of software development and game development. The process involves partitioning a web comp in either a single layer image file format or the multi-layer native file format of the graphic art software used for partitioning. Modern web page layout includes extensive use of Cascading Style Sheets (CSS) and semantic markup.

Vector images are usually processed by media-playing plugin applications and contained within native multimedia file formats such as X3D, SWF, SVG or PDF files. Slicing breaks up one large image into many smaller ones, which reduces page weight or load time considerably. Multi-layered image files may include multiple versions or states of the same image, often used for animations or widgets. Slicing is used in many cases where a graphic design layout must be implemented as a web site.

Once partitioned, one would save them as separate image files, typically in GIF, JPEG or PNG format in either a batch process or one at a time. These are outlined below: Recent versions of these programs have improved ability to convert artwork directly into CSS, albeit an unorthodox method since the algorithms rely heavily on absolute positioning (for example), which can render (display) inconsistently across modern web browsers. An alternative method that has largely replaced image slicing is aggregating images into sprites. .

Tables may be used for compatibility with rarer older web browsers that are incapable of processing modern tableless coding accurately. Slicing is exclusively use for bitmap images. Before tableless web design, sliced images were held together precisely with html tables.

Such techniques such as repeating background images mean that one small image can be downloaded from the web server only once and then be instructed (via a CSS) to repeat by the markup language, shifting the work load from the web server onto the client s computer. Advanced methods of slicing can be used to further compress the amount of data needed to download to the user s computer in order for the web page to display correctly.

Certain performance issues can be raised, however with today s technology and trends of web design shifting towards rich media websites that typically require high bandwidth connectivity and recent computing hardware. Quite a few industry standard programs offer the abilities to automatically slice a layout directly into tables using built in functions.
 
?>