YOMEDIA
ADSENSE
Photoshop cs5 by steve Johnson part 74
64
lượt xem 13
download
lượt xem 13
download
Download
Vui lòng tải xuống để xem tài liệu đầy đủ
Thêm văn bản HTML hoặc liên kết một URL cho một Slice Nếu bạn muốn bao gồm văn bản trong một lát để sử dụng trên web, bạn có thể nhập đồng bằng văn bản hoặc định dạng với tiêu chuẩn thẻ HTML trực tiếp trên một lát với các loại Không có hình ảnh. Các văn bản không hiển thị trong Photoshop, bạn cần phải sử dụng một trình duyệt web để xem nó.
AMBIENT/
Chủ đề:
Bình luận(0) Đăng nhập để gửi bình luận!
Nội dung Text: Photoshop cs5 by steve Johnson part 74
- Adding HTML Text or If you want to include text within a slice for use on the Web, you can enter plain or formatted text with standard HTML tags directly on a an URL Link to a Slice slice with the type No Image. The text doesn't show up in Photoshop; you need to use a web browser to see it. Don't enter too much text as it might affect the exported layout. You can add text using the Slice Select tool on the toolbox, or in the Save For Web & Devices dialog box. If you want to create a hyperlink out of a slice for use on the Web, you can add an URL to a slice with the type Image. Add HTML Text to a Slice 1 2 Double-click the slice to 1 Open a document with the slice. open the Slice dialog box. 2 Open the Slice dialog box to add text using one of the following: ◆ Toolbox. Select the Slice Select tool on the toolbox, and then double-click the slice to which you want to add text. ◆ Save For Web & Devices dialog box. Click the File menu, click Save For Web & Devices, and then double-click the slice to which you want to add text. 3 Click the Slice Type list arrow, and then click No Image. 4 Enter the text you want. 5 Click Background Color or the 3 4 Slice Background Type list arrow, and then select a color: None, Matte, White, Black, or Other. ◆ Eyedropper. Only in the Save 8 For Web & Devices dialog box. 6 For Save For Web & Devices, select the Text is HTML check box to include HTML formatted tags. 7 For Save For Web & Devices, select the horizontal and vertical cell alignment options you want. ◆ To line up text in cells in the same row, set a common baseline for all cells in the row. 8 Click OK. 5 470 Chapter 19
- Add an URL Link to a Slice 4 5 7 1 Open a document. 2 Select the Slice Select tool on the toolbox. 3 Double-click the slice to which you want to add an URL link. 4 Click the Slice Type list arrow, and 6 then click Image. 5 Enter an URL address or select a previously created one from the list. Be sure to use the complete URL address, such as http://www.perspection.com. 6 If you want to enter a target frame: ◆ _blank. Displays the linked file in a new window. ◆ _self. Displays the linked file in the same frame as the original file. ◆ _parent. Displays the linked file For Your Information in its own original parent frameset. Selecting a Slice Content Type ◆ _top. Replaces the entire The slice type determines how the slice appears in a web browser browser window with the after you save it for the Web from Photoshop. There are two content linked file, removing all current types: Image and No Image. Image contains image data, while No frames. Image creates empty table cells where you can put text or a solid color. To change the slice content type, double-click the slice with the 7 Click OK. Slice Select tool, click the Type list arrow, and then select the type you want. Chapter 19 Designing for the Web and Devices 471
- Defining and Editing When you work with images in Photoshop, you can define variables to drive the graphics in your web document. Data-driven graphics make it Web Data Variables possible to create multiple versions of an image quickly and precisely. For example, you need to produce several web banners using the same template. Instead of creating each banner, one at a time, you can use data-driven graphics to generate web banners using variables and data sets. Any image can be converted into a template for data-driven graphics by defining variables for layers in the image. A data set is a collection of variables and associated data. You can switch between data sets to upload different data into your template. When you com- bine a Defined layer with a data set, you can use the information to swap images based on input variables. Define a Data-Driven Graphic 1 Open a document. 2 Select the layer in which you want to define variables. 1 3 Click the Image menu, point to Variables, and then click Define. 4 Select from the available options: ◆ Visibility. Select to show or hide the content of the layer. ◆ Pixel Replacement. Select to 2 replace the pixels in the layer with pixels from another image file. ◆ Text Replacement. Select to replace a string of text in a type layer (available when a text 5 layer is selected). ◆ Name. Enter names for the variables. Variable names must 7 begin with a letter, underscore, or colon. 5 To define variables for an 4 additional layer, choose a layer from the Layer list arrow. 6 Prepare a .txt document from your word editing program with names of your variables and a list of the variable text and names/locations of variable images. 7 Click OK. 472 Chapter 19
- Create a Data Set 1 Open a document. 2 Select the layer in which you want 2 to define variables (fruitpicture, in this example). 3 Click the Image menu, point to Variables, and then click Data Sets. 4 Click Import to choose the .txt file you just made or choose a predefined data set from the list arrow. 5 Select a variable from the available listed objects. 6 8 6 Edit the following variable data (each available when selected as the definition for the file): ◆ Visibility. Select Visible or Invisible to show or hide the layer's content. ◆ Value. Click Select File, and 4 then select a replacement image file or choose Do Not Replace if you do not want the original pixels replaced. ◆ Text Replacement. Enter a text string in the Value box. 5 7 Repeat Steps 5 and 6 for each variable in the template. Image visibility, the text in a type layer, or exchanging one image for another, can now be controlled through changing variables. 8 Click OK. 9 Click the Image menu, point to Apply Data Set, and you will be provided with a dialog box from which you can choose the data you want to replace the existing data. 9 Chapter 19 Designing for the Web and Devices 473
- Exporting Directly to Photoshop lets you export a document with animation as a QuickTime movie or an image sequence. The video formats include: 3G, FLC (also Video known as FLI), iPod (on the 320 x 240 screen), QuickTime movie, AVI (for Windows), DV Stream, Image Sequence, or MPEG-4 (Extended). If you have FLV QuickTime encoder installed on your computer, you can export to the Adobe Flash Video format (FLV). You can also export an animation to separate image files. The file formats include: BMP, Cineon, Dicom, JPEG, OpenEXR, Photoshop, PNG, Targa, and TIFF. Export Directly to Video 4 3 6 10 1 Open a document. If the document is an animation, the frames will be visible in the Animation panel. 2 Click the File menu, point to Export, and then click Render Video. 3 Type a name for the video or use 7 the one provided. 4 Click Select Folder, select the folder where you want to store the file, and then click OK. 5 Click the QuickTime Export option. 8 6 Click the QuickTime Export list arrow, and then click the video format you want. 7 To select options related to the 9 format you selected, click Settings, make your selections, and then click OK; options vary 5 depending on the format. 8 Select the option with the range of frames you want to include. 9 If available, select the alpha channel option and specify the frames per second (fps) you want. 10 Click Render. Settings dialog box 474 Chapter 19
- Export Directly to an Image Sequence 4 3 6 8 11 1 Open a document. If the document is an animation, the frames will be visible in the Animation panel. 2 Click the File menu, point to Export, and then click Render Video. 3 Type a name for the video or use the one provided. 4 Click Select Folder, select the 7 folder where you want to store the file, and then click OK. 5 Click the Image Sequence option. 9 6 Click the Image Sequence list arrow, and then click the video format you want. 10 7 Specify the start number and number of digits you want in the file name, and then select the size 5 you want. 8 To select options related to the format you selected, click Settings, make your selections, and then click OK; options vary depending on the format. 9 Select the option with the range of Settings dialog box frames you want to include. 10 If you want, specify the frames per second (fps) you want. 11 Click Render. Chapter 19 Designing for the Web and Devices 475
- Exporting an Image Exporting an image to Zoomify allows you to display high-resolution images on the Web that users can zoom into and pan around in order to to Zoomify view more detail. When you export to Zoomify, Photoshop exports JPEG files and HTML that you can put on your web server. An image exported to Zoomify downloads in the same time as a regular image, yet you get the added magnification benefits. During the export process, you can select the background and navigation for the image using a template, specify the output location, specify image quality, set the base image width and height for web browsers, and open the image in your browser. Export an Image to Zoomify 1 4 3 Open a document. 2 Click the File menu, point to Export, and then click Zoomify. 8 3 Click the Template list arrow, and then select the background and Zoomify Viewer template you want. 4 Click Folder, select the output 5 location you want, and then click OK. 5 Specify the Image Tile Options you 6 want; drag the slider to adjust the quality settings. 6 Specify the desired base image width and height in pixels. 7 7 To open the image in your web browser, select the Open In Web Browser check box. Image with Zoomify 8 Click OK. 476 Chapter 19
ADSENSE
CÓ THỂ BẠN MUỐN DOWNLOAD
Thêm tài liệu vào bộ sưu tập có sẵn:
Báo xấu
LAVA
AANETWORK
TRỢ GIÚP
HỖ TRỢ KHÁCH HÀNG
Chịu trách nhiệm nội dung:
Nguyễn Công Hà - Giám đốc Công ty TNHH TÀI LIỆU TRỰC TUYẾN VI NA
LIÊN HỆ
Địa chỉ: P402, 54A Nơ Trang Long, Phường 14, Q.Bình Thạnh, TP.HCM
Hotline: 093 303 0098
Email: support@tailieu.vn