百度智能云

All Product Document

          Object Storage

          Quality Transformation

          Overview

          Compress photo quality. The quality transformation operation is to compress the original photo based on the original photo format, for lossy compressed photo formats, such as JPG, JPEG, WEBP, etc. For photo formats that use lossless compression, such as PNG, TIFF, BMP, etc., the quality conversion will not generate any effect. Quality compression will not change the size of the original photo (for example, from 20 MB to 2 MB ), only the pixels will be compressed. If you want to compress the volume of the original photo, please use BOS photo compression.

          Quality Transformation Parameter

          Name of action: quality

          Parameter Value Description
          q 1-100 Designate the relative quality of the image, and if the original image quality is N, the compressed quality should be N * q%
          Q 1-100 Specify the absolute quality of the photo, assuming the quality of the original image is N, if Q <N, re-encode according to Q, otherwise keep the original image quality N unchanged

          Example

          Previous
          Format Conversion
          Next
          Image Watermark