home support FAQ resources services partners contact us contact us
 Flash MX Previous  Next  
 Tutorial

8 Choose Palette Type to define the color palette for the PNG image: • Web 216 uses the standard 216-color browser-safe palette to create the PNG image, for good image quality and the fastest processing on the server.

• Adaptive analyzes the colors in the image and creates a unique color table for the selected PNG. This option is best for systems displaying thousands or millions of colors; it creates the most accurate color for the image but results in a file size larger than a PNG created with the Web 216 palette.

• Web Snap Adaptive is the same as the Adaptive palette option except that it converts very similar colors to the Web 216 color palette. The resulting color palette is optimized for the image, but when possible, Flash uses colors from Web 216. This produces better colors for the image when the Web 216 palette is active on a 256-color system.

To reduce the size of a PNG with an adaptive palette, use the Max Colors option to decrease the number of palette colors, as described in the next step.

• Custom specifies a palette that you have optimized for the selected image. This option has the same processing speed as the Web 216 palette. To use this option, you should know how to create and use custom palettes. To choose a custom palette, click the Ellipsis (...) button to the right of the Palette box at the bottom of the dialog box and select a palette file. Flash supports palettes saved in the ACT format, exported by Macromedia Fireworks and other leading graphics applications; for more information, see “Importing and exporting color palettes” on page 88. 9 If you selected the Adaptive or Web Snap Adaptive palette in step 8, enter a value for Max Colors to set the number of colors used in the PNG image. Choosing a smaller number of colors can produce a smaller file but may degrade the colors in the image.

10 Choose Filter Options to select a line-by-line filtering method to make the PNG file more compressible, and experiment with the different options for a particular image:

• None turns off filtering.
• Sub transmits the difference between each byte and the value of the corresponding byte of the prior pixel.
• Up transmits the difference between each byte and the value of the corresponding byte of the pixel immediately above.
• Average uses the average of the two neighboring pixels (left and above) to predict the value of a pixel.
• Path computes a simple linear function of the three neighboring pixels (left, above, upper left), and then chooses as a predictor the neighboring pixel closest to the computed value.
• Adaptive analyzes the colors in the image and creates a unique color table for the selected PNG. This option is best for systems displaying thousands or millions of colors; it creates the most accurate color for the image but results in a file size larger than a PNG created with the Web 216 palette. You can reduce the size of a PNG created with an adaptive palette by decreasing the number of colors in the palette.

11 To save the settings with the current file, click OK.
Previous  Next  
Link Partners: Asia florist, Flowers to India, Hong kong flowers, Site submit, Cheap web hosting, China florist, Japan florist