home *** CD-ROM | disk | FTP | other *** search
/ Chip 2003 November / Chip_2003-11_cd2.bin / ruzne / painter / PAINTE~2.cab / _00D13A1CD48246749E8A910F4312B3B2 < prev    next >
Text File  |  2003-03-24  |  13KB  |  246 lines

  1. <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
  2.   <head>
  3.     <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
  4.     <meta name="GENERATOR" content="Quadralay WebWorks Publisher Professional Edition 6.0.7" />
  5.     <meta name="TEMPLATEBASE" content="Painter 8 Template" />
  6.     <meta name="LASTUPDATED" content="03/24/03 17:17:12" />
  7. <meta name="keywords" content="Web, animations, , Animations, Web, Animated, GIFs, creating, , GIF, file, format, creating, animations, , Animations, , creating, animated, GIFs, GIF, file, format, exporting, animations, , Animations, exporting, GIF, file, format, , Animated, GIFs, exporting" />
  8.     <title>Animations for the World Wide Web  </title>
  9.     <link rel="StyleSheet" href="document.css" type="text/css" media="screen" />
  10.   </head>
  11.  
  12.   <body>
  13.     <script type="text/javascript" language="JavaScript">
  14.      <!--
  15.       function  WWHUpdateFavorite(ParamHREF)
  16.       {
  17.         if ((parent != null) &&
  18.             (parent.WWHelpFrameSet != null))
  19.         {
  20.           parent.WWHelpFrameSet.fUpdateFavorite(ParamHREF);
  21.         }
  22.       }
  23.  
  24.       function  WWHSyncTOC(ParamHREF)
  25.       {
  26.         if ((parent != null) &&
  27.             (parent.WWHelpFrameSet != null))
  28.         {
  29.           parent.WWHelpFrameSet.fSyncTOC(ParamHREF);
  30.         }
  31.       }
  32.  
  33.       function  WWHShowPopup(ParamContext,
  34.                              ParamLink,
  35.                              ParamEvent)
  36.       {
  37.         if ((parent != null) &&
  38.             (parent.WWHelpFrameSet != null))
  39.         {
  40.           parent.WWHelpFrameSet.fShowPopup(ParamContext, ParamLink, ParamEvent);
  41.         }
  42.       }
  43.  
  44.       function  WWHHidePopup()
  45.       {
  46.         if ((parent != null) &&
  47.             (parent.WWHelpFrameSet != null))
  48.         {
  49.           parent.WWHelpFrameSet.fHidePopup();
  50.         }
  51.       }
  52.  
  53.       function  WWHClickedPopup(ParamContext,
  54.                                 ParamLink)
  55.       {
  56.         if ((parent != null) &&
  57.             (parent.WWHelpFrameSet != null))
  58.         {
  59.           location.href = parent.WWHelpFrameSet.fClickedPopup(ParamContext, ParamLink);
  60.         }
  61.       }
  62.      // -->
  63.     </script>
  64.  
  65.     <script type="text/javascript" language="JavaScript">
  66.      <!--
  67.       var  WWHelpHREF = location.href;
  68.  
  69.  
  70.       WWHUpdateFavorite(WWHelpHREF);
  71.      // -->
  72.     </script>
  73. <a name="pagetop">    
  74.     <table border="0">
  75.       <tr>
  76.         <td width="23">
  77. <a href="23-Video10.html">
  78.       <img alt="Previous Document" border="0" src="images/prev.gif" width="23" height="21" />
  79.     </a>
  80.         </td>
  81.         <td width="23">
  82. <a href="24-Printing.html">
  83.       <img alt="Next Document" border="0" src="images/next.gif" width="23" height="21" />
  84.     </a>
  85.         </td>
  86.       </tr>
  87.     </table>
  88.    </a>
  89.  
  90. <table border="0">
  91.       <tr width="400"></tr>
  92.       <tr width="400"></tr>
  93.       <tr width="400"></tr>
  94.       <tr width="400"></tr>
  95.       <tr width="400"></tr>
  96.       <tr width="400"></tr>
  97.       <tr>
  98.         <td width="40"></td>
  99.         <td width="400">
  100. <li class="Bulleted"><a href="23-Video11.html#1000016">Animations for the World Wide Web</a></li><br/>
  101.  
  102. <li class="Bulleted"><a href="23-Video11.html#1000036">Creating Animated GIFs</a></li><br/>
  103.  
  104. <li class="Bulleted"><a href="23-Video11.html#1008472">Exporting Animated GIFs</a></li><br/>
  105. </td>
  106.       </tr>
  107.     </table>
  108.  
  109.   <blockquote>
  110.         <h2 id="1000016" class="Heading1">
  111.   <a name="1000016"> </a>Animations for the World Wide Web
  112. </h2>
  113.  
  114.  
  115.  
  116. <p id="1000021" class="Body">
  117.   <a name="1000021"> </a>Corel     Painter lets you export a frame stack as an animated GIF file. The animated GIF format is ideal for displaying simple animations on the World Wide Web (WWW).
  118. </p>
  119. <p id="1000034" class="Body">
  120.   <a name="1000034"> </a>Animated GIFs are easy to create and add to your Web pages. You give them the same HTML tag you would any GIF image. The only difference is that the browser displays the file as an animation. Animated GIFs can be used as a link anchor or as an image map. However, they cannot be used as a background.
  121. </p>
  122. <p id="1000035" class="Body">
  123.   <a name="1000035"> </a>Your browser must support GIF animations for the images to display properly. 
  124. </p>
  125. <p id="1008357" class="Body">
  126.   <a name="1008357"> </a>Refer to <a href="21-Web2.html#1003716">"The Web"</a> for more information about creating content for Web pages. 
  127. </p>
  128. <h3 id="1000036" class="Heading2">
  129.   <a name="1000036"> </a>Creating Animated GIFs
  130. </h3>
  131.  
  132. <p id="1000037" class="Body">
  133.   <a name="1000037"> </a>If your movie is intended for the Web, you should consider file size and number of colors in your animation, as these factors affect the speed of the animation.
  134. </p>
  135. <p id="1008428" class="Body">
  136.   <a name="1008428"> </a>Create your animation in a Corel     Painter frame stack. Take advantage of your favorite animation features and techniques to develop the images. 
  137. </p>
  138. <p id="1000044" class="Body">
  139.   <a name="1000044"> </a>As you design your animation, consider the file size and transfer time necessary. Your animations will be more accessible if they're small enough to download in a reasonable time. You can minimize file size by considering the following:
  140. </p>
  141. <ul>
  142.   <li class="SmartList1"><a name="1009411"> </a>Reduce the frame size. A smaller frame leads to a smaller file. You choose the frame size when you create a new movie. If you import an existing animation or video, you cannot resize the frames.</li>
  143.   <li class="SmartList1"><a name="1000045"> </a>Limit the number of frames.  Each frame increases the file size, so if you can get by with fewer frames, do it. </li>
  144.   <li class="SmartList1"><a name="1001047"> </a>Limit the number of colors. Fewer colors in the image reduces the size of the color palette and leads to smaller files. For best results, choose colors from the default 256-color set. This color set matches the color palette of Netscape Navigator, so the colors in your GIF will be reproduced on the client without dithering.</li>
  145. </ul>
  146. <p id="1008465" class="Body">
  147.   <a name="1008465"> </a>If the animation requires transparency, you must set up a selection for each frame. For information about creating selections, refer to <a href="12-Selections4.html#999057">"Creating Selections"</a>. 
  148. </p>
  149. <h3 id="1008472" class="Heading2">
  150.   <a name="1008472"> </a>Exporting Animated GIFs
  151. </h3>
  152.  
  153. <p id="1008510" class="Body">
  154.   <a name="1008510"> </a>There are many options available when saving to the GIF file format. 
  155. </p>
  156. <p id="1009336" class="Body">
  157.   <a name="1009336"> </a>You can choose the number of colors and the imaging method-Quantize or Dither. 
  158. </p>
  159. <p id="1008836" class="Body">
  160.   <a name="1008836"> </a>If you want to gradually display images in the Web browser as they load, you can enable the Interlaced option.
  161. </p>
  162. <p id="1008834" class="Body">
  163.   <a name="1008834"> </a>If you have created selections in each frame, you can make your image transparent and choose your background option. You might need to adjust the Threshold slider to determine at what selection mask value the image becomes transparent. 
  164. </p>
  165. <p id="1008582" class="Body">
  166.   <a name="1008582"> </a>For more information on these GIF options, refer to <a href="03-Basics5.html#999738">"Saving GIF Files"</a>.
  167. </p>
  168. <p id="1008517" class="Body">
  169.   <a name="1008517"> </a>You can also set animation-specific GIF options-Frame Delay, Disposal Method, and Looping.
  170. </p>
  171. <p id="1008518" class="Body">
  172.   <a name="1008518"> </a>The Frame Delay allows you to specify a pause (in 100ths of a second) between each frame. Without a delay, the frames appear as quickly as the system can load and display them. The display of each image (especially with larger frames) will vary between computer systems, so the actual animation display rate may be lower. You can use the Frame Delay to approximate a particular frame rate. For example, you capture some one-quarter size video at 8 frames per second (fps). You want 8 frames to appear in one second, so divide one second (100 hundredths of a second) by 8. The result is 8/100=12.5. Discard the decimal portion and enter 12 as the frame delay. Discarding the decimal is the only allowance for the time required to display each image. For a large frame size, you might want to allow more time for display.
  173. </p>
  174. <p id="1008924" class="Body">
  175.   <a name="1008924"> </a>The Disposal Method lets you specify what happens to an image after it has been displayed (and its frame delay has passed), and before the next image is displayed. The disposal method is significant only when using transparency that differs between frames. 
  176. </p>
  177. <ul>
  178.   <li class="SmartList1"><a name="1008638"> </a>With Default, the client browser's default disposal method is used. </li>
  179.   <li class="SmartList1"><a name="1008642"> </a>With None, the image is left on-screen and the next frame is rendered over it.</li>
  180.   <li class="SmartList1"><a name="1008643"> </a>With Background, the region covered by the image is restored to the background color. </li>
  181.   <li class="SmartList1"><a name="1008644"> </a>With Previous, the region covered by the graphic is returned to the imagery of the previous frame.</li>
  182. </ul>
  183. <p id="1009470" class="Body">
  184.   <a name="1009470"> </a>If you want the animation to repeat, enable the Loop option. Enter the number of times the animation should repeat. If you want it to repeat indefinitely, enter 0 (zero).
  185. </p>
  186. <h5 id="1000068" class="ToDoHead">
  187.   <a name="1000068"> </a>To export a frame stack as an animated GIF
  188. </h5>
  189. <ol type="1">
  190.   <li class="SmartList1" value="1"><a name="1000069"> </a>With the frame stack open, choose <span style="color: #000000;  font-style: normal; font-weight: bold; text-decoration: none; text-transform: none; vertical-align: baseline">File menu > Save As</span>. </li>
  191.   <li class="SmartList1" value="2"><a name="1013525"> </a>In the Save Movie dialog box, choose Save Movie as GIF Animation. </li>
  192.   <li class="SmartList1" value="3"><a name="1013526"> </a>In the Enter Movie Name dialog box, choose a location, enter a filename, and click Save.   </li>
  193.   <li class="SmartList1" value="4"><a name="1000081"> </a>In the Save as GIF Options dialog box, specify the options you want. </li>
  194. </ol>
  195. <p id="1000106" class="Body">
  196.   <a name="1000106"> </a>You can now use your browser to open the file and view the animation. You can place the animation on a Web page with the same HTML image tag you'd use for a simple GIF file.
  197. </p>
  198. <p id="1000107" class="Body">
  199.   <a name="1000107"> </a>In the client browser, the animation will appear one frame at a time during the download. In most cases, this will be significantly slower than the intended display rate. After all frames have been downloaded, the browser will loop the animation (if the loop option is used), with the specified delay between frames. The animation plays from the browser's cache so it's much faster.
  200. </p>
  201. <p id="1000108" class="Body">
  202.   <a name="1000108"> </a>If the animation in the browser window stops playing, it's probably finished the set number of loops. In some browsers, you can get it started again by resizing the window. In all browsers, you can get it started again by reloading the page.
  203. </p>
  204. <p id="998197" class="Body">
  205.   <a name="998197"> </a>
  206. </p>
  207.   </blockquote>
  208.  
  209.  
  210. <table border="0">
  211.       <tr>
  212.         <td width="23">
  213. <a href="23-Video10.html">
  214.       <img alt="Previous Document" border="0" src="images/prev.gif" width="23" height="21" />
  215.     </a>
  216.         </td>
  217.         <td width="23">
  218. <a href="24-Printing.html">
  219.       <img alt="Next Document" border="0" src="images/next.gif" width="23" height="21" />
  220.     </a>
  221.         </td>
  222.       <td width="23" >
  223.           <a href="#pagetop">
  224.             <img SRC="images/BtnBacktoTop.gif" ALT="Back to Top" border="0" height="21" width="23" />
  225.           </a>
  226.       </td>
  227.       </tr>
  228.     </table>
  229.  
  230.    <div id="WWHelpPopupDIV" style="position: absolute ; z-index: 1 ; visibility: hidden ; top: 0px ; left: 0px">
  231.     <script type="text/javascript" language="JavaScript">
  232.      <!--
  233.       if ((parent != null) &&
  234.           (parent.WWHelpFrameSet != null))
  235.       {
  236.         if (document.all != null)  // Non-Netscape browser
  237.         {
  238.           document.writeln(parent.WWHelpFrameSet.mPopup.fFormat("Popup"));
  239.         }
  240.       }
  241.      // -->
  242.     </script>
  243.    </div>
  244.   </body>
  245. </html>
  246.