[label][Fireworks][轉載] Web Slices - Fireworks CS5

來源:互聯網
上載者:User

標籤:des   style   http   io   ar   color   os   sp   for   

Web Slices – Fireworks CS5

http://bestwebdesignz.com/tips/fireworks/web-slices-fireworks-cs5/ 

Need a Website? Contact Us Now!

This entry is part 12 of 14 in the series Fireworks CS5 Tutorial

It is time to slice up the layout for the web now that it is ready.

Slicing is a process where we decide which parts of the layout need to stay as images and which parts could be recreated in HTML. The more the images the more the file size and so more the the loading time.

Some images that will need to be sliced are:

  • Logo
  • Photos
  • Background gradients

If we decide that something needs to remain an image in our final web page we need to decide which format will suit it best (i.e. gif, jpg, png). We need to optimize these images to load quickly on the web (smaller files size) and look good at the same time.

Some points to keep in mind while optimizing images are:

  • Images with flat colors will be best optimized as .gif files. Gif files also allow transparency. Gif files can also be animated.
  • Images with many colors e.g. photos, will be better optimized as .jpg files.
  • .png files can retain vector information and  transparency

This is what our layout looks like now:

Let us first slice the logo. To do this follow these steps:

  • Select the slice tool
  • Create a rectangle around the logo
  • You have now created a slice
  • You will be able to see a green tansparent rectangle over the logo.
  • You will also notice a new layer in the Web layer in the Layers panel, called ‘slice’. Rename this to ‘logo’.
  • You will notice that the name on the slice will also become ‘logo’
  • Now optimize the slice by selecting ‘JPEG – Better Quality’ from the ‘Properties’ panel.
  • Export this slice by right clicking on it and selecting ‘Export Selected Slice’.

Similarly slice and export the photo and a thin slice of the header background gradient.

You can optimize the slices by comparing the quality and file size with various options by using the 2-up and 4-up previe tool.

You can also export all the sliced images together by:

  • From the main menu select ‘File’
  • Select ‘Export’

In the window that opens, select:

  • Export: Images Only
  • Slices: Export Slices

Now you have all the images you need to begin creating your webpage using an HTML editor.

Fireworks Source File (Save As onto your computer)

[label][Fireworks][轉載] Web Slices - Fireworks CS5

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.