Skip navigation links
com.tencentcloudapi.vod.v20180717.models

Class ImageScale

Returns:
Type The scaling type. Valid values:
  • `WidthFirst`: Specify the width and proportionally scale the height.
  • `HeightFirst`: Specify the height and proportionally scale the width.
  • `LongEdgeFirst`: Specify the long side (`LongEdge`) and proportionally scale the short side.
  • `ShortEdgeFirst`: Specify the short side (`ShortEdge`) and proportionally scale the long side.
  • Force: Specify both the height and width. The output image may be distorted.
  • Parameters:
    Type - The scaling type. Valid values:
  • `WidthFirst`: Specify the width and proportionally scale the height.
  • `HeightFirst`: Specify the height and proportionally scale the width.
  • `LongEdgeFirst`: Specify the long side (`LongEdge`) and proportionally scale the short side.
  • `ShortEdgeFirst`: Specify the short side (`ShortEdge`) and proportionally scale the long side.
  • Force: Specify both the height and width. The output image may be distorted.
  • Skip navigation links

    Copyright © 2024. All rights reserved.