All Products
Search
Document Center

Object Storage Service:How to obtain information about a processed image

Last Updated:Nov 19, 2025

Background information

You can use the info image processing parameter to obtain image information. For example, use the link https://image-demo.oss-cn-hangzhou.aliyuncs.com/example.jpg?x-oss-process=image/info to obtain the information about an image.

image

However, if you add other image processing parameters, such as scaling, to the link, only information about the original image is returned. For example, using the link https://image-demo.oss-cn-hangzhou.aliyuncs.com/example.jpg?x-oss-process=image/resize,p_80/info still returns information about the original image.

image

This shows that the info parameter obtains information about the original image only.

Procedure

To obtain information about a processed image, follow these steps:

  1. Save the processed image to OSS for persistent storage.

    Use the save as operation for image persistence. This operation is supported only in the request body.

    image

  2. Use the info image processing parameter to obtain the information about the image.