Updated on 2023-06-21 GMT+08:00

Processing Images

Upload an image to bucket your-bucket-input, and use a tool to simulate a client and trigger the function flow. The image is rotated by 180°, and then returned to the client as stream data.

Uploading an Image

Log in to the OBS console, go to the object page of the your-bucket-input bucket, and upload the image.jpeg image, as shown in Figure 1. Figure 2 shows the uploaded image.

Figure 1 Example
Figure 2 Uploaded image

Using Postman to Trigger the Function Flow

The following figure shows the image saved from the byte stream.