ALL HELP
- Network
- Virtual Private Cloud
- Elastic Load Balance
- Domain Name Service
- NAT Gateway
- Virtual Private Network
- Security
- Anti-DDoS
- Management and Deployment
- Identity and Access Management
- Cloud Eye
- Cloud Trace Service
- Tag Management Service
- Application
- Simple Message Notification
- Glossary
- Product Introduction
- Purchase Guide
- Quick Start
-
Console Operation Guide
- Definition
- Getting Started
- Logging In to OBS Console
- Using a User-Defined Domain Name to Configure Static Website Hosting
- Managing Buckets
- Managing Objects
- Managing Bucket Properties
- Managing Object Properties
-
Troubleshooting
- Object URL Cannot Be Opened Using a Browser
- Objects Cannot Be Globally Searched for in a Bucket
- An Object Fails to Be Downloaded Using Internet Explorer 11
- OBS Console Cannot Be Opened in Internet Explorer 9
- The Object Name Changes After an Object with a Long Name Is Downloaded to a Local Computer
- Failed to Create a Bucket
- Failed to Upload an Object
- Failed to Download an Object
- Failed to Configure Event Notification
- Time Difference Is Longer Than 15 Minutes Between the Client and Server
- Image Processing Feature Guide
-
API Reference
- Documentation Overview
- Function Description
- Common Message Headers
- Error Responses
- Authenticating a Request
- Access Control
- Operations on Buckets
-
Bucket Policy Configuration
- PUT Bucket Policy
- PUT Bucket Quota
- PUT Bucket ACL
- PUT Bucket Logging
- PUT Bucket Lifecycle
- PUT Bucket Versioning
- PUT Bucket Notification
- GET Bucket Policy
- GET Bucket Quota
- GET Bucket ACL
- GET Bucket Logging
- GET Bucket Lifecycle
- GET Bucket Versioning
- GET Bucket Notification
- DELETE Bucket Policy
- DELETE Bucket Lifecycle
- Static Website Hosting
- Operations on Objects
- Multipart Upload
- Server-Side Encryption
- AWS S3 Compatibility
- Change History
- Developer Guide
- SDK Reference
-
FAQ
-
OBS Basics
- What is OBS?
- What Are the Functions Provided by OBS?
- How Can I Obtain OBS?
- How Can I Access OBS?
- How Am I Charged for OBS?
- What Are the Technical Advantages of OBS?
- What Are the Advantages of Object Storage When Compared with SAN and NAS Storage?
- Which Types of Data Can Be Stored on OBS?
- How Much Data Can OBS Store?
- What Is the Size of an Object that Can Be Stored on OBS?
- What Object Storage Services from Other Cloud Service Providers Is OBS Compatible with?
- What Are the Storage Classes Supported by OBS?
- What Are the Scenarios to Which OBS Is Applicable?
- What is a Bucket?
- What Is an Object?
- Are Folders of OBS and a File System Identical?
- What Are the Management Tools of OBS?
- Which Programming Language SDKs Are Supported by OBS?
- Where Is My Data Stored?
- How Can I Determine Which Region to Store My Data?
-
Security
- How Is Data Security Ensured on OBS?
- Does OBS Scan for My Data for Other Purposes?
- Can Background Management Personnel Export My Data from OBS?
- How Does OBS Prevent Data From Being Stolen?
- How Can I Control Access to the Data on OBS?
- Can I Replace the AK and SK When I Invoke an API to Use OBS?
- Can Many Users Share One Pair of an AK and SK to Access OBS?
- Are Resources Accessed on Both OBS Console and OBS Browser the Same?
- Which Encryption Technologies Are Supported by OBS?
- Can I Restore Data that Is Deleted Incorrectly?
- How Does OBS Treat the Residual Data That Is Generated When Data Is Cleared?
- Access Log Record
- Lifecycle Management
- Static Website Hosting
- CORS
- Fragment Management
- Versioning
- Event
- Object URL
- Object Metadata
- Buckets and Objects
-
OBS Basics
- Document Download
Creating Image Styles
Context
By creating image styles, you can process the image such as cropping, compressing, and watermarking. If some common procedures are needed for multiple images, you can create image styles to avoid repetitive operations. Once a style is successfully created, it can be used by multiple images in the bucket.
When creating styles, you can view the style effects of the sample image on the right.
When using RESTful APIs to access Image Processing, you can call the style name in the URL to avoid inputting complicated commands.
You can create a maximum of 100 styles for one bucket at one time.
Procedure
- Log in to the management console.
- On the homepage of the management console, choose All Services > Storage > Object Storage Service.
- Click the bucket name, and select Image Processing.
- Click Create Style to go to the style editing page, as shown in Figure 1.
- On the editing page, you can edit the style name and basic properties. You can also set the resize mode, as well as perform operations like rotation/cropping, watermarking, and image output.
- Style Name
Input an easy-to-remember style name, which can consist of uppercase or lowercase English letters, digits, underlines (_), and hyphens (-). The style name contains 1 to 256 characters. For example, rotate_0001.
- Edit Mode
You can either choose GUI mode for visible editing, or choose Code mode. For details about Code mode, see Management.
An example code is as follows:
image/sharpen,100/blur,r_1,s_1/resize,m_lfit,h_400,w_400,limit_1
- Parameter settings
You can set image effects, resizing, watermarks, and parameter values. For details, see Management.
- Style Name
- After finishing editing the image style, click OK to save the style. The new style will be displayed in the style list.
Last Article: Uploading Images
Next Article: Using Image Styles
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.