Image scaling and cropping have many use cases. For example, images may be scaled to generate thumbnails for media files, and cropping is needed to make square or circular user profile photos. When images are stored in the cloud, traditional editing methods such as locally run software and online editing tools have many disadvantages, for example:
These pain points can be addressed by VOD’s real-time image processing feature.
Aspect | Traditional Image Editing | VOD Image Processing |
---|---|---|
Process | You need to download the images, edit them, and then upload them. The process is complicated and time-consuming. | All operations are performed in the cloud, with no need for download or upload. |
Operation | You need to have some knowledge of image editing to be able to use image editing software. | You can edit images in real time simply by specifying URL parameters. |
Speed | It can be slow to access and download images stored in the cloud via URLs, hurting the user experience. | CDNs are used for acceleration, allowing you to get the result immediately. |
The real-time image processing feature of VOD supports scaling and cropping operations.
Type | Operation |
---|---|
Scaling | Width: Specified; height: Auto-scaled |
Height: Specified; width: Auto-scaled | |
Long side: Specified; short side: Auto-scaled | |
Short side: Specified; long side: Auto-scaled | |
Width: Specified; height: Specified | |
Cropping | Cropping to circle, with the radius specified |
Cropping to rectangle, with height and width specified |
For detailed directions on how to process images with VOD, see Real-Time Image Processing.
Was this page helpful?