百度智能云

All Product Document

          Object Storage

          Image Rotation

          Overview

          This article describes image rotation operations.

          Image Rotation Parameters

          Parameter name Resizing command Type Value range Request description Default value Is it required
          angle a int -360~360 Designate the rotation style of the photo.
          The positive number indicates clockwise rotation, such as a_60; while the
          negative number indicates counterclockwise rotation, such as a_-30.
          0 No
          orientation o int 0,1,2 Rotate automatically according to exif information.
          o_0: Follow the default direction of the original photo without automatic rotation;;
          o_1: Rotate first, then thumbnail;
          o_2: First abbreviate, and then rotate.

          Example

          • Rotate the photo 30 degrees clockwise.

          https://doc.bce.baidu.com/bce-documentation/BOS/image.jpg@a_30

          Previous
          Image Cropping
          Next
          Asymptotic Display