Picture processing is the function of generating thumbnails and adding watermarks provided by Kingsoft Cloud in addition to basic service of data storage. Each Bucket supports creating 100 picture styles. For the convenience of developers, the pre-defined image processing styles can greatly shorten the length of the request URL, with better readability.
Enter the management console and select the Bucket where to create custom thumbnails.
Enter the picture processing module, and click [New Picture Style]
After clicking [New Picture Style], you will enter the stage of creating the thumbnail styles. At this stage, you need to set the style name, thumbnail size, automatic rotation, center cropping, picture format, and picture quality. The width and height of the original image will be displayed on the right side of the “picture style generation” window. In the process of adjusting the style, the thumbnail effect will be displayed in real time in the effect frame. The reduced width and height are displayed via the ruler.
Where: 1) Style name: Later, this name will be used as an alias for the entire style. 2) Rules for thumbnail size:
Note: If the original image protection function is selected, the thumbnail protection function will not work. You need to first turn off the original image protection function.
6) Adjust the picture quality: The size of the generated picture can be reduced. Adjusting the picture quality will affect the actual effect of the picture, so please adjust reasonably as needed. 7) Choose not to add a watermark, as shown below:
You can add a text watermark or a picture watermark to a picture. The customizable items are as follows:
Set the position of the watermark. You can further fine-tune them by setting the X-axis margin and Y-axis margin, which refer to the horizontal and vertical distances between the watermark and the edges of the picture, respectively, as shown below:
Thumbnail + Watermark: You can add a watermark on the basis of thumbnails of pictures. The processing order of thumbnail and watermark is to make the thumbnail first and then add the watermark.