summaryrefslogtreecommitdiffstats
path: root/system/libraries/Image_lib.php
AgeCommit message (Collapse)AuthorFilesLines
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
2011-12-19Add method visibility declarations and optimize display_errors() method in ↵Andrey Andreev1-32/+26
Image_lib, Trackback and Upload libraries
2011-12-11Fix for Issue #538.Andrew Mackrodt1-1/+1
2011-12-06Merge branch 'develop' of https://github.com/michaeljdennis/CodeIgniter into ↵Eric Barnes1-11/+30
michaeljdennis-develop Conflicts: system/libraries/Image_lib.php user_guide/changelog.html
2011-10-23Fixed an issue with the Image_lib class not clearing width, height or ↵Seb Pollard1-1/+4
create_thumb properties when calling the clear() method.
2011-10-20adding new license file (OSL 3.0) and updating readme to ReSTDerek Jones1-4/+16
added notice of license to all source files. OSL to all except the few files we ship inside of the application folder, those are AFL. Updated license in user guide. incrementing next dev version to 3.0 due to licensing change
2011-08-29Merge remote-tracking branch 'upstream/develop' into developMichael Dennis1-1/+1
2011-08-26Removed some error suppression, which would hide a Notice if the path cannot ↵Phil Sturgeon1-1/+1
be read. I discovered this by foolishly passing the file_path, not the full_path but took forever for me to realise this as the error returned (thanks to this error suppression) was "GD is not installed" instead of "File cannot be read". Seeing that notice would have made much more sense.