Commit 7bd46fa5 authored by Fabrizio Ruggeri's avatar Fabrizio Ruggeri
Browse files

Bump version to 2.5.0

parent 40cc6706
# Changelog
## 2.5.0
- Allow rotations of any angle
- Update sharp to version 0.21.1
## 2.4.0
- Add `overlay` option. Now you acn add watermarks to your images!
- Add `overlay` option. Now you can add watermarks to your images!
## 2.3.6
......
{
"name": "caravaggio",
"version": "2.4.0",
"version": "2.5.0",
"lockfileVersion": 1,
"requires": true,
"dependencies": {
......@@ -2702,8 +2702,7 @@
"inherits": {
"version": "2.0.3",
"bundled": true,
"dev": true,
"optional": true
"dev": true
},
"ini": {
"version": "1.3.5",
......
{
"name": "caravaggio",
"version": "2.4.0",
"version": "2.5.0",
"description": "A blazing fast image processor service",
"main": "index.js",
"bin": "bin/caravaggio",
......
---
id: version-2.5.0-rotate
title: Rotate
sidebar_label: Rotate
original_id: rotate
---
This paramter let you rotate the image.
Any angle is accepted.
<pre><code class="hljs css html" data-preview>https://caravaggio.host/<strong>rotate_270</strong>/https://goo.gl/EXv4MP</code></pre>
**Original**
![Two girls](assets/example/girls_small.jpeg)
**Result**
![Two girls rotated](assets/example/rotate.jpeg)
An optional background [color](resize#colors) can be set:
<pre><code class="hljs css html" data-preview>https://caravaggio.host/<strong>rotate_12_ff0000</strong>/https://goo.gl/EXv4MP</code></pre>
**Result**
![Two girls rotated with a red background color](assets/example/rotate-color.jpeg)
[
"2.5.0",
"2.4.0",
"2.3.6",
"2.3.5"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment