diff options
author | sybio <clement.guillemain@gmail.com> | 2014-08-01 14:01:59 +0200 |
---|---|---|
committer | sybio <clement.guillemain@gmail.com> | 2014-08-01 14:01:59 +0200 |
commit | 14bbecd7b834404b8ea9cc7136f25d1c0e9adbfc (patch) | |
tree | d8a0951ac5ff2d6f2c84f64999482dde9207917a | |
parent | acdd66248313884886f7aa0dfb2f8f7e437e7e73 (diff) | |
download | ImageWorkshop-14bbecd7b834404b8ea9cc7136f25d1c0e9adbfc.zip ImageWorkshop-14bbecd7b834404b8ea9cc7136f25d1c0e9adbfc.tar.gz ImageWorkshop-14bbecd7b834404b8ea9cc7136f25d1c0e9adbfc.tar.bz2 |
- Version 2.0.62.0.6
-rw-r--r-- | README.md | 9 | ||||
-rw-r--r-- | src/PHPImageWorkshop/ImageWorkshop.php | 2 |
2 files changed, 10 insertions, 1 deletions
@@ -11,6 +11,15 @@ http://phpimageworkshop.com/ ### Latest updates
+**Version 2.0.6 - 2014-08-01**
+
+@jasny (https://github.com/jasny) contribution, new methods :
+
+* `ImageWorkshopLayer::resizeToFit()` resizes an image to fit a bounding box.
+* `ImageWorkshopLayer::cropToAspectRatio()` crops either to width or height of the document to match the aspect ratio.
+
+Documentation here : https://github.com/Sybio/ImageWorkshop/pull/37#issue-28704248
+
**Version 2.0.5 - 2013-11-12**
- Implementing interlace mode (http://php.net/manual/en/function.imageinterlace.php) on save() method to display progessive JPEG image
diff --git a/src/PHPImageWorkshop/ImageWorkshop.php b/src/PHPImageWorkshop/ImageWorkshop.php index d13e4c4..a523be4 100644 --- a/src/PHPImageWorkshop/ImageWorkshop.php +++ b/src/PHPImageWorkshop/ImageWorkshop.php @@ -15,7 +15,7 @@ use PHPImageWorkshop\Exception\ImageWorkshopException as ImageWorkshopException; *
* Use this class as a factory to initialize ImageWorkshop layers
*
- * @version 2.0.5
+ * @version 2.0.6
* @link http://phpimageworkshop.com
* @author Sybio (Clément Guillemain / @Sybio01)
* @license http://en.wikipedia.org/wiki/MIT_License
|