Graphical User Interface (GUI) Mode

This section introduces an example of image processing in GUI mode. In this example, a style of a FZShuSong text watermark is created on the top left of the original image.

Procedure

  1. Log in to the management console.
  2. On the homepage of the management console, choose All Services > Storage > Object Storage Service.
  3. In the bucket list, click the target bucket to go to the Overview page.
  4. In the navigation tree on the left, click Object.
  5. Click Upload. The Upload Object page is then displayed.
  6. Click the red-line-marked button to select files, as shown in Figure 1.

    Figure 1 Upload File

  7. Select the image that you want to upload and click Open.
  8. Click OK.
  9. In the navigation tree on the left, select Image Processing, as shown in Figure 2.

    Figure 2 Image Processing

  10. Click Create Style to go to the style editing page, as shown in Figure 3.

    Figure 3 Create Style

  11. Input the style name obs-111. On the editing page, select GUI.
  12. Click Watermark.

    1. In the drop-down list of watermark types, select Text watermark.
    2. In the input box, input Hello Image Processing!.
    3. Select 方正书宋.
    4. Input 60 for text size.
    5. Keep the default value 100 for the watermark transparency.
    6. Select the top left sign for the watermark location.
    7. Keep the disabled state for text shadow.
    8. Keep the default value 10 for both the vertical margin and horizontal margin.

    The style effect will be displayed on the right in real time. Figure 4 shows the final style effects.

    Figure 4 Style obs-111

  13. After you finish editing the image style, click OK to save the style. The new style obs-111 will be displayed in the style list, as shown in Figure 5.

    Figure 5 Style created successfully

  14. In the navigation tree on the left, select Object. Click flower.jpg in the object list to go to the file details page.
  15. By clicking the Preview Image tab, you can preview the effect of the current style, as shown in Figure 6.

    Figure 6 Preview Image

  16. Click Copy Link. After prompted with Copied successfully, you can obtain the access address of the image file.
Registration