All Products
Search
Document Center

CDN:Query image information

Last Updated:Dec 15, 2023

You can query image information, such as the length, width, height, and format, by using the info parameter after you use the image processing feature provided by Alibaba Cloud CDN to process an image.

Parameters

URL parameter: info

The image information is returned in JSON format. The information includes the length, height, width, format, quality, and orientation of the specified image.

{
  "Length":1055089,
  "Width":1920,
  "Height":1080,
  "Quality":100,
  "Format":"JPEG",
  "Orientation":"UNDEFINED"}

Example

URL used to query image information: http(s)://example.com/image01.png?image_process=info