EllisLab/CodeIgniter — pull request #818 by narfbg (2011-12-24 17:10:16+00:00)
Title: Improve the Image manipulation library

Changes include:

- Minor speed improvements
- Cleaned up some unnecessary expressions (merged `if()s`, etc.) and white-spaces
- Fixed a bug in the `gd_loaded()` method, where it was possible for the script to crash or generate a PHP `E_WARNING` message, due to an assumption that both `dl()` and `gd.so` are always available.