Help Center/ Object Storage Service/ Image Processing/ Getting Information About an Image
Updated on 2024-08-09 GMT+08:00

Getting Information About an Image

You can get the information about an image only by making an API call.

The image information you can get includes the width, height, size, and format of an image. If the image contains EXIF Data, the EXIF data will be returned in JSON.

This operation is represented by info.

Example

Below gives an example of querying information about the example.jpg image:

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
}