Home  >  Article  >  Web Front-end  >  What should I do if PS does not have PNG format?

What should I do if PS does not have PNG format?

Guanhui
GuanhuiOriginal
2020-06-02 16:13:2017461browse

What should I do if PS does not have PNG format?

#PS What should I do if there is no PNG format?

There is no PNG format option when saving in PS. The reason is that the image mode selects Lab color. When the PS image mode is Lab color or CMYK color, the file cannot be saved in PNG format. Solution Just change the [Mode] under [Image] in the top menu to RGB color.

What should I do if PS does not have PNG format?

##PNG

Portable Network Graphics is a lossless compressed bitmap graphics format designed to Replaces GIF and TIFF file formats while adding some features that GIF file formats do not have. PNG uses a lossless data compression algorithm derived from LZ77, which is generally used in JAVA programs, web pages or S60 programs because of its high compression ratio and small file size.

  • Small size Due to bandwidth constraints in network communication, it is impossible to use large bmp format files on a large scale in web pages on the premise of ensuring clear and realistic pictures.

  • Lossless compression PNG files are compressed using an algorithm derived from the LZ77 algorithm. The result is a high compression ratio without loss of data. It uses a special encoding method to mark repeated data, so it has no impact on the color of the image, and no color loss is possible, so that it can be saved repeatedly without reducing the image quality.

  • Indexed Color Mode The PNG-8 format is similar to GIF images, and also uses an 8-bit palette to convert RGB color images into indexed color images. What is saved in the image is no longer the color information of each pixel, but the representative color numbers selected from the image. Each number corresponds to a color, and the amount of data in the image is therefore reduced, which has a negative impact on the dissemination of color images. Very beneficial.

  • More optimized network transmission display PNG images are streamed on the browser, even though the interleaved image will provide the viewer with a basic image content before being completely downloaded, and then It gradually became clearer. It allows continuous reading and writing of image data, which is very suitable for displaying and generating images during communication.

  • Support transparency effect PNG can define 256 transparent levels for the original image, allowing the edges of the color image to blend smoothly with any background, thereby completely eliminating jagged edges. This feature is not available in GIF and JPEG.

PNG also supports alpha channel transparency for true color and grayscale images. Supports up to 24-bit true color images and 8-bit grayscale images. Supports alpha channel transparency/translucency. Supports gamma calibration information for image brightness. Supports storing additional text information to retain image name, author, copyright, creation time, comments and other information.

Recommended tutorial: "

PHP Tutorial"

The above is the detailed content of What should I do if PS does not have PNG format?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn