Help Center > > Best Practices> Watermarking Images> Introduction

Introduction

Updated at: Jun 28, 2019 GMT+08:00

The best practice for HUAWEI CLOUD FunctionGraph guides you through image watermarking based on a function.

Scenarios

  • Upload images to a specified OBS bucket.
  • Watermark each uploaded image.
  • Upload the processed images to another specified OBS bucket.
    NOTE:
    1. This tutorial uses two different OBS buckets.
    2. The function you create must be in the same region (default region) as the OBS buckets.

Procedure

  • Create two buckets on the OBS console.
  • Create a function with an OBS trigger.
  • Upload an image to one of the buckets.
  • The function is triggered to watermark the image.
  • The function uploads the processed image to the other bucket.
    NOTE:

    After you complete this tutorial, your HUAWEI CLOUD account will have the following resources:

    1. Two OBS buckets (respectively used for storing uploaded and processed images)
    2. An image watermarking function
    3. An OBS trigger used for associating the function with the OBS buckets

Did you find this page helpful?

Submit successfully!

Thank you for your feedback. Your feedback helps make our documentation better.

Failed to submit the feedback. Please try again later.

Which of the following issues have you encountered?







Please complete at least one feedback item.

Content most length 200 character

Content is empty.

OK Cancel