IMG_FILTER_COLORIZE - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: IMG_FILTER_COLORIZE (/showthread.php?tid=7617) |
IMG_FILTER_COLORIZE - El Forum - 04-16-2008 [eluser]BrandonDurham[/eluser] I'd love to extend Image_lib with the IMG_FILTER_COLORIZE function, but I have no idea how to do this. Can someone point me in the right direction? I appreciate any help I can get. Thank you. IMG_FILTER_COLORIZE - El Forum - 04-16-2008 [eluser]Seppo[/eluser] Open your application/libaries folder and create a file named MY_Image_lib.php Open the file and write your class naming it MY_Image_lib and extending CI_Image_lib Code: class MY_Image_lib extends CI_Image_lib { IMG_FILTER_COLORIZE - El Forum - 04-16-2008 [eluser]BrandonDurham[/eluser] Awesome. Thank you so much. I'll give that a shot. |