Updated on 2024-02-29 GMT+08:00

Obtaining Image Information

You can obtain the information of an image by making an API call only.

Image information includes some basic information about the image: width, height, and the file size and format of the image. If there is Exif Information, the Exif information will be returned in JSON format.

Operation name: info

Example

Query example.jpg information.

https://obs.region.example.com/image-demo/example.jpg?x-image-process=image/info

{      
     "format":"JPEG",
     "height":2000,
     "size":1046583,
     "width":2668
}