Docs | imagemash.io
DashboardSign up for Free
  • 🎉imagemash.io
  • 🚀Getting Started
    • Simple CDN Link Usage
  • 💽Sources
    • IM Cloud Storage
    • Image URL
    • Storage Providers
      • Amazon S3
      • Google Cloud
      • S3 Compatible Storage
    • Web Folder
  • 🖼️Image Transform
    • Transform Options
      • Quality
      • Width
      • Height
      • Scale
      • Crop
      • Gravity
      • Background
      • Border
      • Round
      • Output Format
      • Angle (Rotate)
      • Flip
      • Helpers
        • x, y
      • Filters
        • Tint
        • Flatten
        • Grayscale
        • Blur
        • Sharpen
        • Median
        • Threshold
        • Negative
    • Transform Cheat Sheet
    • Named Transforms
  • 🛠️API
    • API - Good to knows
    • API Methods
      • Account
        • Named Transforms
          • Get named transforms
          • Add named transform
          • Remove named transform
        • Image URL Restriction
          • Get keyword list
          • Add keyword to list
          • Remove keyword from list
          • Change keyword list usage
      • Storage
        • Upload file
        • Get and search files
        • Delete files
        • Add new tags to files
        • Set tags of files
        • Remove tags from files
        • Purge Cache
      • Optimize / Transform
  • ❓How it works?
    • Custom Domain
    • Bandwidth
    • Cloud Storage
    • Caching
    • Purge Cache
    • Limits
  • Contact Us
Powered by GitBook
On this page
  1. Image Transform
  2. Transform Options

Angle (Rotate)

angle - a - a_<angle value>

PreviousOutput FormatNextFlip

Last updated 2 years ago

Value
Type
Description

angle value

integer

Value can be;

  • An integer value to set the rotation angle of the image.

Eg. a_90, a_180, a_30

Rotates the image at a given angle. Values smaller than 0 or larger than 360 will be converted into actual angles.

When the given angle is not the multiplier of 90, extra background pixels may appear. Since image dimensions will be changed and new pixels will be added.

You can use the function to adjust it.

Normally extra pixels will appear as white. We used bg_grey to make it easier for you to spot the new pixels.

🖼️
Background
https://demo.imagemash.io/a_90/KFC_logo.png
https://demo.imagemash.io/h_300,a_80,bg_transparent/KFC_logo.png
https://demo.imagemash.io/h_300,a_30,bg_transparent/jeep.png