Decreasing the color depth of an image

If you are creating an image for on-screen viewing, you can decrease the number of colors to reduce the file size and ensure the image displays properly.

Before decreasing the color depth, consider the following:

If you are creating images for the Web, we recommend that you work with 16 million color (24-bit) images in the PspImage file format. After editing the images, you can reduce the color depth of the images and prepare them for the Web by exporting the images using the GIF optimizer, JPEG optimizer, or PNG Optimizer.

Depending on the current color depth of your image, you can decrease its color depth to the color depths described below.

2 colors (1-bit)

You can create a black-and-white image by decreasing the color depth of an image to 2 colors. For example, if your image is already black-and-white, you can change the color depth to two colors to reduce the file size.

16 Colors (4-Bit)

When you have an image that has only a few colors, you can decrease the color depth of an image to 16 colors (4-bit). This color depth is useful for simple graphics on Web pages that you want to load quickly. The resulting image has an image palette that contains 16 specific colors. You can change any of those colors by editing the image palette. For information, see Working with image palettes.

256 colors (8-Bit)

When you decrease the color depth of an image to 256 colors (8-bit), you can choose a Web-safe palette to ensure your image displays as expected regardless of the Web browser or monitor used to view the image. You can only convert color images to 256 Colors (8-bit). For information about converting images to 8-bit grayscale, see To create an 8-bit grayscale image.

Grayscale (8-bit)

You can convert a color image to an 8-bit grayscale image that uses up to 256 shades of gray.

32K and 64K Colors (24-Bit)

You can reduce the number of colors used in a 24-bit image by decreasing the color depth to 32K (32,000) or 64K (64,000) colors. Displaying images with 32K or 64K colors on older monitors results in better refresh rates than displaying 24-bit images with 16 million colors.

Decreasing color depth to a selected number of colors

You can decrease the number of colors used in an image by specifying the number of colors that you want to use. When you specify the number of colors, Corel PaintShop Pro converts the image to the appropriate color depth. For example, if you specify 16 or fewer colors, the image is saved as a 4-bit image. If you specify 17 to 256 colors, the image is saved as an 8-bit image. Specifying the number of colors is advantageous when saving to some file formats, such as GIF, because the file compression is sensitive to the number of colors in the image. For example, by using 100 colors instead of 256 colors, a smaller GIF file is created, even though both files are 8-bit images. Smaller files result in faster download times.

To decrease the color depth to 2 colors Back to Top

Edit workspace 

*

You can also create a black-and-white image by choosing Adjust Brightness and Contrast Threshold. With this command, the color depth does not change. For more information, see To convert a photo’s pixels to black and white.

To decrease the color depth to 16 colors Back to Top

Edit workspace 

*

If you want to emphasize the importance of certain colors in the conversion, create a selection of the area that you want to use before you decrease the color depth.

To decrease the color depth to 256 colors Back to Top

Edit workspace 

*

If you want to emphasize the importance of certain colors in the conversion, create a selection of the area that you want to use before you decrease the color depth.

To create an 8-bit grayscale image Back to Top

Edit workspace 

To decrease the color depth to 32K or 64K colors Back to Top

Edit workspace 

To decrease the color depth to a selected number of colors Back to Top

Edit workspace 

*

If you want to emphasize the importance of certain colors in the conversion, create a selection of the area that you want to use before you decrease the color depth.


Feedback
Was this page helpful? Send feedback. (Internet connection required.)


Copyright 2013 Corel Corporation. All rights reserved.