silverstripe-framework/tests/filesystem
JorisDebonnet 9eac541740 Enhance GD::greyscale to allow darker or lighter results, and change color weights for greyscale (#5332)
Tweaking the first three parameters (R, G, B) allows you to get a different mix of colors into grey, but it does not allow you to make the result lighter or darker because their total is normalized. This is quite a common operation on greyscaled images though, so I added a fourth parameter: brightness. It defaults to 100% so that it does not have any effect when not used (making this backwards compatible). $brightness = 50 will make it darker, $brightness = 150 will overlight it.
2016-04-21 19:26:46 +12:00
..
fixtures/filefinder FEATURE: Added the SS_FileFinder class for finding files within a directory true that match a set of rules. 2011-03-24 20:14:42 +11:00
gdtest BUG GD::greyscale did not correctly preserve alpha component of images Added test cases to test greyscale operation across various image formats Replaced various magic numbers with IMAGETYPE_XXX definitions 2012-12-04 09:47:26 +01:00
FileFinderTest.php MINOR Update @package values to match renaming sapphire 2012-04-15 10:50:19 +12:00
FileNameFilterTest.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
FileTest.php MINORE: Remove training whitespace. 2016-01-07 10:15:54 +13:00
FileTest.yml Merge pull request #4155 from kinglozzer/pulls/getfiletype-case 2015-07-28 00:13:26 +01:00
FolderTest.php Remove all redundant whitespace 2014-08-19 09:17:15 +12:00
GDTest.php Enhance GD::greyscale to allow darker or lighter results, and change color weights for greyscale (#5332) 2016-04-21 19:26:46 +12:00
UploadTest.php Merge pull request #5241 from timkung/pulls/upload-validator-filesize-spelling 2016-03-29 16:15:27 +13:00
UploadTest.yml Added fixture for UploadTest so that it would create a database 2008-04-08 06:08:31 +00:00