Interlace

Code editing and API calling are the only two methods supported.

With format conversion function, the image is output in Baseline JPG format. If you want to output an image in Progressive JPEG, use the interlace parameter. Table 1 describes the parameters in detail.

  • Presentation mode of Baseline JPG images: top to down.
  • Presentation mode of Progressive JPEG images: blurred to clear.

Operation name: interlace

Table 1 Interlace

Parameter

Value Description

Code Example

value

The value can be set to 0 or 1.

0: The output is a JPG image that is presented from top to down.

1: The output is a JPEG image that is presented progressively.

image/format,jpg/interlace,1

Example

  • Output a JPG image that is presented progressively.

    https://obs.cn-north-1.myhwclouds.com/ya89soshla6s4uma-ims-example-cn-north-1/example.jpg?x-image-process=image/format,jpg/interlace,1

  • Output a JPG image presented from top to down.

    https://obs.cn-north-1.myhwclouds.com/ya89soshla6s4uma-ims-example-cn-north-1/example.jpg?x-image-process=image/format,jpg/interlace,0

Registration