com php-src: NEWS and UPGRADING for the scatter filter: NEWS UPGRADING

From: Date: Thu, 09 May 2019 23:37:02 +0000
Subject: com php-src: NEWS and UPGRADING for the scatter filter: NEWS UPGRADING
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-106114@lists.php.net to get a copy of this message
Commit: f13fdeadd6df6d92645d4ded696663ffdf11299a Author: Kalle Sommer Nielsen <kalle@php.net> Fri, 10 May 2019 02:37:02 +0300 Parents: bcd11a1dfbb520c6663d7737cf7e0fec93eb2d8a Branches: PHP-7.4 Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f13fdeadd6df6d92645d4ded696663ffdf11299a Log: NEWS and UPGRADING for the scatter filter Changed paths: M NEWS M UPGRADING Diff: diff --git a/NEWS b/NEWS index 9aa9338..7efc39f 100644 --- a/NEWS +++ b/NEWS @@ -44,6 +44,7 @@ PHP NEWS . Implemented FR #72510 (systemd service should be hardened). (Craig Andrews) - GD: + . Implemented the scatter filter (IMG_FILTER_SCATTER). (Kalle) . Fixed bug #73291 (imagecropauto() $threshold differs from external libgd). (cmb) . Fixed bug #76324 (cannot detect recent versions of freetype with diff --git a/UPGRADING b/UPGRADING index ec49bb1..27cd528 100644 --- a/UPGRADING +++ b/UPGRADING @@ -180,6 +180,17 @@ PHP 7.4 UPGRADE NOTES native variables and create/access data structures defined in C libraries. RFC: https://wiki.php.net/rfc/ffi +- GD: + . Added the "scatter" image filter (IMG_FILTER_SCATTER) to apply a scatter + filter to images. This filter has the following prototype: + + imagefilter($im, IMG_FILTER_SCATTER, int $sub, int $plus, array $colors = []); + + The $colors array can be populated with a set of indexed colors where to + apply the scatter pixel shifting on. + + Note, the result of this filter is always random. + - Hash: . Added "crc32c" hash using Castagnoli's polynomial. This crc32 variant is used by storage systems, such as iSCSI, SCTP, Btrfs and ext4.

« previous php.cvs (#106114) next »