Darkroom

Darkroom

  • Docs
  • Updates

›API Reference

Contents

  • Getting Started
  • API Reference

    • Size
    • Rotate
    • Filter
  • Customization
  • Contribution

Rotate

Rotate

The rot parameter can be used to rotate the image clockwise for a certain degree. Image can be rotated upto any degree till 360 and rot can have any float value.

?w=500&h=250?w=500&h=250&rot=90?w=500&h=250&rot=180
imageimageimage

Flip

The flip parameter can be used to flip the image vertically or horizontally using values v or h respectively.

?w=500&h=250?w=500&h=250&flip=v?w=500&h=250&flip=h
imageimageimage
← SizeFilter →
  • Rotate
  • Flip
Darkroom
Docs
Getting Started
Community
User Showcase
More
BlogGitHubStar
Copyright © 2020 Gojek