diff --git a/reference/imagick/imagick/adaptiveresizeimage.xml b/reference/imagick/imagick/adaptiveresizeimage.xml index e5c53733679b..b3f4484c7f5e 100644 --- a/reference/imagick/imagick/adaptiveresizeimage.xml +++ b/reference/imagick/imagick/adaptiveresizeimage.xml @@ -49,7 +49,19 @@ bestfit - Whether to fit the image inside a bounding box. + Whether to fit the image within the given dimensions while preserving + the aspect ratio. + + + + + legacy + + + Optional bool parameter. + If set to true, the calculations are done with the small rounding bug + that existed in Imagick before 3.4.0. If set to false, the calculations + should produce the same results as the ImageMagick command-line tools. @@ -94,6 +106,12 @@ Pass zero as either parameter for proportional scaling. + + PECL imagick 3.4.0 + + Added the legacy parameter. + + diff --git a/reference/imagick/imagick/cropthumbnailimage.xml b/reference/imagick/imagick/cropthumbnailimage.xml index 1e2cef4fd822..ed54a6fb1462 100644 --- a/reference/imagick/imagick/cropthumbnailimage.xml +++ b/reference/imagick/imagick/cropthumbnailimage.xml @@ -40,6 +40,17 @@ + + legacy + + + Optional bool parameter. + If set to true, the calculations are done with the small rounding bug + that existed in Imagick before 3.4.0. If set to false, the calculations + should produce the same results as the ImageMagick command-line tools. + + + @@ -57,6 +68,29 @@ &imagick.imagick.throws; + + &reftitle.changelog; + + + + + + &Version; + &Description; + + + + + PECL imagick 3.4.0 + + Added the legacy parameter. + + + + + + + diff --git a/reference/imagick/imagick/resizeimage.xml b/reference/imagick/imagick/resizeimage.xml index 5e45f8958b09..8c6672374529 100644 --- a/reference/imagick/imagick/resizeimage.xml +++ b/reference/imagick/imagick/resizeimage.xml @@ -64,7 +64,21 @@ bestfit - Optional fit parameter. + Optional bool parameter. + If set to true, the image is resized to fit within the given dimensions + while preserving the aspect ratio. + + + + + + legacy + + + Optional bool parameter. + If set to true, the calculations are done with the small rounding bug that existed in + Imagick before 3.4.0. If set to false, the calculations should produce the same results + as the ImageMagick command-line tools. @@ -98,6 +112,12 @@ Pass zero as either parameter for proportional scaling. + + PECL imagick 3.4.0 + + Added the legacy parameter. + + diff --git a/reference/imagick/imagick/scaleimage.xml b/reference/imagick/imagick/scaleimage.xml index c2cc77b118af..a63aa1c486b5 100644 --- a/reference/imagick/imagick/scaleimage.xml +++ b/reference/imagick/imagick/scaleimage.xml @@ -30,6 +30,7 @@ columns + The number of columns in the scaled image. @@ -37,6 +38,7 @@ rows + The number of rows in the scaled image. @@ -44,6 +46,19 @@ bestfit + Whether to fit the image within the given dimensions while preserving + the aspect ratio. + + + + + legacy + + + Optional bool parameter. + If set to true, the calculations are done with the small rounding bug + that existed in Imagick before 3.4.0. If set to false, the calculations + should produce the same results as the ImageMagick command-line tools. @@ -84,6 +99,12 @@ Pass zero as either parameter for proportional scaling. + + PECL imagick 3.4.0 + + Added the legacy parameter. + +