summaryrefslogtreecommitdiffstats
path: root/system/libraries/Image_lib.php
AgeCommit message (Collapse)AuthorFilesLines
2015-01-12[ci skip] Polish changes from PR #3278Andrey Andreev1-2/+2
2015-01-12Merge pull request #3278 from b1tc0re/patch-1Andrey Andreev1-1/+8
We can preserve transparency for PNG images
2015-01-09Bulk (mostly documentation) updateAndrey Andreev1-3/+3
- Remove PHP version from license notices - Bump year number in copyright notices - Recommend PHP 5.4 or newer to be used - Tell Travis-CI to test on PHP 5.3.0 instead of the latest 5.3 version Related: #3450
2014-10-27[ci skip] Switch to MIT license; close #3293Andrey Andreev1-14/+25
2014-10-23Fix #3283Andrey Andreev1-1/+1
2014-10-19We can preserve transparency for PNG imagesДмитрий1-1/+8
2014-08-27Fix #2963Andrey Andreev1-10/+13
Changed all file permissions settings throught the framework and the documentation. Also added configuration settings for CI_Log and CI_Image_lib
2014-03-13Image_lib - minor corrections on some comments.Ivan Tcholakov1-3/+3
2014-03-13Partially revert PR #2190Andrey Andreev1-6/+6
The core shouldn't depend on constants that are not defined by itself
2014-02-26Don't use error suppression on realpath() + style adjustmentsAndrey Andreev1-2/+2
2014-02-112013 > 2014darwinel1-1/+1
Update copyright notices from 2013 to 2014. And update one calendar example in user_guide from year 2013/2014 to 2014/2015.
2014-02-11Fix issue #43Andrey Andreev1-28/+43
2013-03-13removing linebreakSam Doidge1-1/+1
2013-03-13adding thumb_marker to image_lib->clear()Sam Doidge1-2/+2
2013-01-26Fix a code comment in Image_libvlakoff1-1/+1
constant FILE_WRITE_MODE contains octal 0666
2013-01-09fix imagejpeg() parameter, should be NULL instead of empty stringTed Wood1-1/+1
2013-01-01[ci skip] Happy new yearAndrey Andreev1-1/+1
2012-12-03[ci skip] Cleaned some spacesAndrey Andreev1-1/+0
2012-11-12Some micro-optimizationsAndrey Andreev1-6/+6
2012-11-07Added function_usable() to common functionsAndrey Andreev1-3/+11
It is now used to check whether dangerous functions like eval() and exec() are available. It appears that the Suhosin extension (which is becoming popular) terminates script execution instead of returning e.g. FALSE when it has a function blacklisted. function_exists() checks are insufficient and our only option is to check the ini settings here. Filed an issue here: https://github.com/stefanesser/suhosin/issues/18 ... hopefully we'll be able to deal with this in a more elegant way in the future. (this commit supersedes PR #1809)
2012-11-01Manually apply PR #1594 (fixing phpdoc page-level generation/warnings)Andrey Andreev1-1/+2
Also partially fixes issue #1295, fixes inconsistencies in some page-level docblocks and adds include checks in language files.
2012-10-05Add PNG transparency support in CI_Image_lib::text_watermark() (originally ↵Andrey Andreev1-0/+7
from pull #1317, partially fixes #1139)
2012-07-02Fixed code stylingOmar1-3/+7
2012-06-29Fixing imagemagick maintain ratio not implementedOmar1-1/+4
2012-06-04Revert/optimize some changes from 773ccc318f2769c9b7579630569b5d8ba47b114b ↵Andrey Andreev1-3/+3
and d261b1e89c3d4d5191036d5a5660ef6764e593a0
2012-06-02Replaced `==` with `===` and `!=` with `!==` in /system/librariesAlex Bilbie1-51/+51
2012-05-17Clean up the librariesAndrey Andreev1-125/+127
2012-04-27Fix Cache, Image_lib and Log librariesTimothy Warren1-1/+95
2012-04-27Fix Config.php and partially fix Image_lib.phpTimothy Warren1-18/+205
2012-04-03Minor cleanup and style fixes in the Unit_test and Image_lib librariesAndrey Andreev1-2/+2
2012-03-09Bumped CodeIgniter's PHP requirement to 5.2.4.Phil Sturgeon1-1/+1
Yes I know PHP 5.4 just came out, and yes I know PHP 5.3 has lovely features, but there are plenty of corporate systems running on CodeIgniter and PHP 5.3 still is not widely supported enough. CodeIgniter is great for distributed applications, and this is the highest we can reasonably go without breaking support. PHP 5.3 will most likely happen in another year or so. Fingers crossed on that one anyway...
2012-02-29Merged in 2.1-stable changes.Phil Sturgeon1-1/+1
2012-01-24Revert a space in the license agreement :)Andrey Andreev1-1/+1
2012-01-19Some more cleaningAndrey Andreev1-146/+104
2012-01-12Remove a quoteAndrey Andreev1-1/+1
2012-01-12CI_Image_lib::image_reproportion() to work if only one of either width or ↵Andrey Andreev1-107/+88
height are set
2012-01-12array keys should be 0, 1, and 2. key 3 results in error (invalid offset)Ronald Beilsma1-1/+1
2012-01-07Fix the same expression in crop()Andrey Andreev1-1/+1
2012-01-07Fixed a bug in CI_Image_lib::resize()Andrey Andreev1-1/+1
2012-01-02Updating copyright date to 2012Greg Aker1-1/+1
2012-01-01Cut some commentsAndrey Andreev1-5/+1
2011-12-31Fix a comment typoAndrey Andreev1-1/+1
2011-12-31Fix a bug and put some comments describing changes from pull #818Andrey Andreev1-4/+22
2011-12-30Some alignment for readabilityAndrey Andreev1-2/+3
2011-12-30Another fix on a previous commit from this requestAndrey Andreev1-1/+2
2011-12-30Remove a str_split() from the previous commit - we can access string ↵Andrey Andreev1-9/+1
characters like we do in an indexed array anyways
2011-12-30Added support for 3-length hex color values format and a number of ↵Andrey Andreev1-38/+49
validation improvements
2011-12-27Remove access lines from method descriptionsAndrey Andreev1-24/+0
2011-12-24Improve the Image manipulation libraryAndrey Andreev1-92/+58
2011-12-21Also replace old-style 'var' with 'public'Andrey Andreev1-45/+45