Help Center> Object Storage Service> Image Processing> Obtaining Image Information
Updated on 2023-07-21 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://hw-image-demo.obs.ap-southeast-1.myhuaweicloud.com/example.jpg?x-image-process=image/info

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